Email validation in service portal

RudhraKAM
Tera Guru

Hello I have a requirement where we need to validate email address in the service portal , where should i write the script ? on the widget client controller or client script on the widget ?

and we want to accept any email address @gmail.com     , can some one help me out

find_real_file.png

5 REPLIES 5

sachin_namjoshi
Kilo Patron
Kilo Patron

Please check below which has solution for email validation on SP



Validating Email Addresses in Service Portal - SNStud.io



Regards,


Sachin


Already checked it ,but no use


Sachin, 

The link you provided is not working. 

You need to write code in server script on your widget to validate email.

Please see sample below to validate email in widget.

 

https://community.servicenow.com/community?id=community_question&sys_id=93e047a5db98dbc01dcaf3231f9619cd

 

Regards,

Sachin