Expression validations in webforms - email addresses
Jeff_182127 Posts: 21
Anyone know how to use expression validation for fields in webforms? I'm looking to compare two fields to make sure they match. For example, with the two fields below, I'm assuming that for Field 2, I use Entry Validation, "Expression", but am not sure of the format to use for the comparison. Full disclosure, I don't know Java, so please be very specific in your reply. Thank you in advance!
Field 1: Name
Entry Validation: leave it blank
Field 2: Re-enter Name
Entry Validation: Expression: this > fields["name"]
Error message: Please re-enter the exact name.