URL in OnSubmit client script without hardcoding

Jake Adams
Tera Contributor

Hi,

 

I want to provide an URL to a Service Catalog based on condition.

 

At the moment I'm using Onsubmit client script and have stored the URL using HTML tag and showing that as Link in adderrormessage popup.

 

I want to do it without hardcoding the URL. How can I achieve this?

5 REPLIES 5

@sunil maddheshi 

are you sure this will work?

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