Monday, July 18, 2016 2:49:00 PM
In Cognito Forms, you can use the Custom Error option to show error messages for any reason. For example, you can show an error message when two email address fields do not have the same value. To do this:
- Add an Email field called "Email" and second Email field called "Confirm Email".
- For the confirmation field, select Show Custom Error - When, and enter this calculation into the Advanced Editor:
=(ConfirmEmail != Email)
- Click Save to close the conditional logic dialog.
- Enter the error message you wish to show when this error occurs:
Now, when a user tries to enter a different value into the second email field, they'll see your custom error message: