[support] How to use ajax in form_submit_handler

Earnie Boyd earnie at users.sourceforge.net
Tue May 11 03:16:19 UTC 2010


Doug wrote:

>
> One of the issues I encountered, in Drupal 6 is that every Forms API
> button, thinks its a "submit" button and wants to callhome for a
> page refresh, rather than an asynchronous background page update.
>

But you can have more than one button on the page each with its 
different submit handlers specified with '#submit'.  Same for '#validate'.

-- 
Earnie
-- http://progw.com
-- http://www.for-my-kids.com


More information about the support mailing list