Changing the name of the UI Button on UI Page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 11:38 PM
Hi All,
I got a requirement to rename the Button on UI Page from OK to Submit. Please help me in providing the solution.
Here I am attaching the image.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 11:56 PM - edited 05-18-2023 11:58 PM
2 ways
1) you can use button tag instead of <g:dialog_buttons_ok_cancel> tag
this link has solution
Changing button names in GlideModal UI Page
OR
2) update as this
<g:dialog_buttons_ok_cancel ok_text="${gs.getMessage('Submit')}" ok="return actionOK()" ok_type="button" cancel_type="button" cancel="cancel()"/>
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader