I am trying to implement a multi-page form with validation for each
step.

Where do I put the validation rules? There are some rather complex
rules in the form, and some branching depending on the choices the user
make. That means that I need to validate the form for each step, but
using a subset of the totals of rules required to submit the complete
form.

Should I make a model for each step in the form, perhaps inheriting
from a parent model where all fields for all pages are present?

Help appreciated!


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to