get yes/no in client script confirmation prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2018 11:50 PM
Have a client script, which on a clearing a field value , will give below confirm dialog
Is there anyway to get "yes" and "no" instaed of "ok" and "cancel"
Thanks
- Labels:
-
Problem Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2018 11:55 PM
Hello Anu,
You may find the below thread helpful.
Confirm box with Yes / No buttons instead of OK / Cancel
Change label of confirmation window from 'Ok' and 'Cancel' to 'Yes' and 'No"?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2018 12:02 AM
Hello rajashekharmushke
The question is how to change the label. How can we achieve it via alert as you mentioned above?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2018 12:04 AM
sorry about that, i totally misunderstood.
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2018 12:03 AM
Hey Anu,
Might be helpful to you.
Please Refer:
https://www.servicenowguru.com/scripting/client-scripts-scripting/javascript-popup-boxes-servicenow/
https://www.servicenowguru.com/scripting/client-scripts-scripting/custom-dirty-form-message/
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke