Greetings, all ...

I'm looking for information on how to use the jquery_form module's jquery_form_add() function, inside of a custom module.

I've seen the original documentation referred to in the module listing, and a search brought up the comment "All you need is jquery_form_add()" ... but neither tells me clearly how this would be used in a drupal installation.

The documentation advice says to "Add a form to your page. Just a normal form, no special markup required". I'm assuming that within the Drupal implementation, we can use the Form_API instead. But in this case, where does the jquery_form_add() call go?

If someone could shed some light on this issue, it would be greatly appreciated ...

- J

Comments

jthorson’s picture

Gained a response via a support ticket ... All the jquery_form_add() call does is add the javascript required to use the jquery_form plugin to the page. It does not integrate with the Drupal Forms_API; rather, you need to build standalone html/javascript code within your page.