When a submitted form fails a validation rule, the form is presented
back to the user with their values intact.  This is obviously a good
thing, as the user doesn't have to fill the whole thing in again.

I have a form where I need to compare two of the submitted values to
make sure they're not the same.  I can't, as far as I know, use a
validation rule to compare two fields in the same form.  How can I
display the form back the user with their values intact?  Currently I
set a flash message, then redirect back to the form, but the user has
to fill the form in again.

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