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

infojunkie’s picture

Assigned: Unassigned » infojunkie
infojunkie’s picture

Status: Active » Fixed

Now calling ops 'validate' and 'submit' on actions before calling 'do'. Validation correctly highlights erroneous fields.

harry slaughter’s picture

Status: Fixed » Needs work

I 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.

harry slaughter’s picture

Status: Needs work » Active
SolomonGifford’s picture

Seems to be working for me.

harry slaughter’s picture

Status: Active » Fixed

This is working.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.