Email validation with .co check
41
Views
4
Comments
Out of scope
Frontend (App Interfaces)

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.

Changed the status to
Out of scope

Hi,

This is not an idea, this question should be posted on the Forum.

Regards,

Daniel

Hi @Daniel Kuhlmann ,

I have not asked this as a question. I have posted this as a solution for email validation. Just thought that, this steps might come handy when someone searches this query.

Regards,

Bala

They still you should post it on the forum, as a discussion topic, not on ideas.

The ideas page is the place to suggest improvements to the OutSystems platform.

Apologize for it, Daniel.
I will post it in the forums. Thanks for the information.