Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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

@SauravR58560934 

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

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