Hey - Love the form example module and the form wizard is great and easy to adapt, except for one issue I have. I have adapted the form wizard and it works but when you hit the prev button and the current form has a required field that is a 'radios' type field, an error message appears. It seems that it is failing the validation criteria or the requirement defined for a required field and the '#limit_validation_errors' => array() statement in the array is not working in that respect for required fields.

I'm thinking that instead of specifying that the field is required you could build a validation function that checks for NULL or ''values" and that would be fine but then of course you have to make your own '*' show up in the title element. If this is the way to do it would it make sense to show this in the example? I think it would improve the wizard. Maybe add an extra field to the second form that is a "required-ish" field?

Comments

Mile23’s picture

Category: Feature request » Bug report
Issue summary: View changes
jungle’s picture

Status: Active » Closed (outdated)

No activity for over 7 years. I am closing this. Please feel free to reopen if necessary.

Thanks!