Timeline for How to make form buttons call only javascript?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 8, 2016 at 5:25 | comment | added | Christian | $form['#after_build'] is for adding a server side (PHP) function - it's not for specifying post build javascript. api.drupal.org/api/drupal/… | |
Aug 21, 2013 at 22:58 | comment | added | Malks | Sorry, I didn't see this question... I assume you're replacing [module_name] with the actual name of your module? | |
Jul 29, 2013 at 8:26 | comment | added | sumanchalki | After_build is not working for me. It throws me a Fatal error: Call to undefined function [module_name]_after_build(). If I define the method [module_name]_after_build() with empty body, form does not render. Can you clarify a bit more how to use it? | |
Dec 4, 2012 at 9:36 | review | Suggested edits | |||
Dec 4, 2012 at 11:42 | |||||
Dec 5, 2011 at 22:39 | history | answered | Malks | CC BY-SA 3.0 |