On Tue, 11 May 2010, Earnie Boyd wrote:
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'.
The issue I had was this one: http://drupal.org/node/50147 Basically every button is a "submit" button which causes a page refresh - the antithesis of AJAX.