I have a form where, if the user enters the same value into two
fields, they see an error message and have to fill in the form again.

1) I compare the two fields in the controller.  Is there a way to
create a validator in the model that can compare two fields in the
same form?

2) If the answer to 1) is no, how do I preserve the form values so
that the user doesn't have to enter them all again?  Currently, they
see the error message, but the form resets to defaults.

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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