I would like to verify that the email confirmation field has the same value as the email field on my form. I want to show an error massage when it does not match. How can I do that on the form?
Cognito Forms – How to Validate Two Fields Have Same Value
cognito-forms
Related Topic
- Cognito-forms – Showing internal fields in Cognito Forms in confirmation email
- Cognito-forms – How to export the cognito forms resume URL for all incomplete submissions
- Cognito-forms – Hide products that aren’t selected in the Cognito confirmation email
- Cognito-forms – Creative Cognito Forms notification email that contains all form details
- Cognito-forms – Cognito Forms: Lookup Value
- Cognito Forms – How to Require a Null Value
Best Answer
In Cognito Forms, you can use the Show Custom Error option to show error messages for any reason.
In this case, you can show an error message when your two email address fields do not have the same value. Here are the steps to do this:
Email
field called "Email"Email
field called "Confirmation Email"=(ConfirmationEmail != Email)
Here is what this will look like when you are entering the validation calculation: