I have a mandatory email ID text field in the form which has both email and mandaory validation associated to it.
Basically, I want to make the text field null after the validation fails. So, here is the code I have used
I have the following code in the validate event of the email field:
this.tst=Page1.variables.EmailValidation.validateEmail(this.rawValue); // validate email method will validate it and returns either true or false.
I have the following code in the exit event of the email field:
The problem here is, two validation messages appear once the validation fails. i.e first the pattern validation message and then the mandatory validation message.
Now, I want to either combine these messages and show in one dailog box OR only pattern failed message should appear.
Can i achieve this?