[development] FormAPI javascript?

Richard Morse remorse at partners.org
Fri Jan 18 20:01:37 UTC 2008


Hi! I have a node form that requires a bunch of behaviours  
(Drupal.behaviors...) that I've developed. I also have a bunch of  
settings I add to Drupal.settings. This works fine when the form is  
first displayed. However, if it fails the validation step, when it is  
displayed back to the user, none of the javascript settings or  
inclusions (basically, none of the results of `drupal_add_js()`) are  
included, so that the form doesn't display correctly.

Is there a way to get the drupal_add_js() content to be included?

Thanks,
Ricky

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.




More information about the development mailing list