How to restrict value in a single field

alona3
Tera Contributor

how to restrict value in a single field
It will only accept a number range between 6000000 – 6999999 (8 numeric char).
If not meet, message will appear:
"This task is only relevant for Customers with a number range between 6000000 – 6999999"

1 ACCEPTED SOLUTION

Prashant Ahire
Kilo Sage

@alona3 

Did this helped you?

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful.
Thanks

View solution in original post

7 REPLIES 7

Prashant Ahire
Kilo Sage

@alona3 
Yes You can add link

var link = '<a href="incident.do?sys_id=' + current.sys_id + '" >' + LINK + '</a> ';
var message = 'This task is only relevant for Customers with a number range between 6000000 – 6999999. 
All other customers can be reactivated using the following instruction:' + link + ' In case of any problems, please do not hesitate to contact CIT ';

g_form.addErrorMessage(message);

 

Please check and Mark Correct and Helpful if it really helps you.
Regards,
Prashant Ahire

If it is a sharepoint url?

Prashant Ahire
Kilo Sage

@alona3 

Did this helped you?

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful.
Thanks