using and action that includes an action->validate function, you will see that the form is always submitted even if it should fail validation.
using and action that includes an action->validate function, you will see that the form is always submitted even if it should fail validation.
Comments
Comment #1
infojunkieComment #2
infojunkieNow calling ops 'validate' and 'submit' on actions before calling 'do'. Validation correctly highlights erroneous fields.
Comment #3
harry slaughterI don't believe this is working.
Also, regular form errors don't seem to be caught. For example if your configurable action has a required field, and your 'do' code calls 'form_set_error' and returns false, this does not cause the form to be redisplayed with the empty field highlighted.
Comment #4
harry slaughterComment #5
SolomonGifford commentedSeems to be working for me.
Comment #6
harry slaughterThis is working.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.