Validate input field value in catalog form

Ragavi2
Tera Contributor

Need to validate input field [single line text] in form against table data. If the table data matches need to show an alert to the end user before submitting the form. 

 

 

Thanks,

Ragavi

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

should be simple enough.

1) onChange client script + GlideAjax

GlideAjax Example Cheat Sheet

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ragavi 

Hope you are doing good.

Did my reply answer your question?

If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Sagar Pagar
Tera Patron

Hi,

You have to use GlideAjax + client callable script include call to check weather same records is present with your field name or not?

if present show alert and clear the value of field.x

 

Thanks,

Sagar Pagar

The world works with ServiceNow