If we want to validate an email in the client side, we can use the below 2 validations.
1. EmailAddressValidate(PassYourEmail)
2. Then, if the 1st condition is true, use a Javascript function and add
- var rg_exp = /.co/
- $parameters.Out1 = rg_exp.test(String($parameters.Email).toLowerCase())
3. If you want to add .in validation, we can modify the var rg_exp accordingly.
4. The final action will be as below.
