I was under the impression that the equalTo() validation was going to
be used to verify that two submitted form fields were equal to each
other.

But looking at this ticket:

https://trac.cakephp.org/ticket/3594

It appears as if this is NOT what the equalTo() rule is all about.  It
is instead just a way to verify that a submitted form field is equalTo
a hard-coded value (whatever string value that is placed in the
$validate array).

Anyone have any idea what a sample use case would be for a rule that
just verifies that a submitted value is equal to a fixed value?

Or is there a way to use this function to verify that two fields are
equal to each other?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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