In the current formsapi model, directly using drupal_goto on your _submit is wrong; instead, return the location to go to.
This turns out to be a problem for me since form_alter can't accept additional data in other _submit functions because that drupal_goto effectively ends execution.
| Comment | File | Size | Author |
|---|---|---|---|
| submit_goto_0.patch | 2.4 KB | merlinofchaos |
Comments
Comment #1
merlinofchaos commentedIn case you're wondering why I care about form_alter:
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/na...
Comment #2
jvandyk commentedCommitted. Thanks.
Comment #3
(not verified) commented