Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

UI action displays a dialog box with 'Yes' and 'No' buttons

SauravR58560934
Tera Contributor

I need to create an onSubmit client script that displays a dialog box with 'Yes' and 'No' buttons instead of the default 'Cancel' and 'OK'. If the user selects 'Yes', the state should change to 'Closed'. If the user selects 'No', the state should remain unchanged."

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@SauravR58560934 

so what did you start with and where are you stuck?

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