How can I verify a field is equal to another?

Hi,
Have you ever seen in some subscription modules the "Insert Email address" followed by "Re-insert email address to verification"?

So in one field I've put the email field, but how can I verify if the second field is equal to the first?

Thank you
 
Hi,
Have you ever seen in some subscription modules the "Insert Email address" followed by "Re-insert email address to verification"?

So in one field I've put the email field, but how can I verify if the second field is equal to the first?

Thank you
Hi,

This is how I did it puting the following code using a php validation as @troester proposed in the 'Email address' field grabbing the data from the 'Re type email' field:

PHP:
return $data === $formModel->formData['your_element___email_ver'];
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top