clientscript - How to override the service now's email notification onclick event -


i have requirement like, when click email notification link in service now, system should check particular field not null or null, if not null service now's email notification window should open, otherwise 1 alert box should come pls enter field first

as long ok w/ validation being done client side modify onclick event on email notification link , add additional function check value of field , if not null, call original email onclick function.

prototype available in servicenow forms clients side , provides method update attributes on elements.

you need modify onclick function on element id='email_client_open', add new onclick function check field in question populated , if call original function 'emailclientopen(this, 'incident')' appropriate parameters.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -