Hi,
I wrote a module with a form which collects data for a simulation. At the moment its a "normal" form which gets submitted by a submit button. The module validates the form and if it is valid the results will be calculated and returned.
The screen is divided in an input region (which holds the form) and an output region.
Is it possible to use the ajax module to submit the form and receive the error messages or the calculation output and place them in the output region ... without a page reload? This means the input form should always be the same - almost, if there is an error I would like to high lite the field which contains the error.
I've tried to use drupal's ahah functionality but I didn't get this work. And I wanted to experiment with the ajax module, but I'm not even able to submit the form without the reload.
Comments
Comment #1
avpadernoComment #2
brendoncrawford commentedOsitoblanco,
I have many requests to enable Ajax.module to NOT redirect after submission. This is currently my top priority. Please keep an eye on http://drupal.org/node/361992 for up-to-date status on this issue.
Thanks
Comment #3
brendoncrawford commentedThis has now been fixed. Please see http://drupal.org/node/361992 for more details.
Thanks,
Brendon