- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2024 07:07 AM
I want to change the name of the ok and cancel buttons of g_modal.confirm(), but I don't see an option for it. However, the g_modal.showFields seems to support this using the properties 'confirmTitle' and 'cancelTitle'. So I was trying to use this instead of g_modal.confirm. But I can't find a way to add a message or subheading in the modal body without providing an input field in the UI using the 'fields' property. There is only the 'title' property which is the heading of the modal. Is there any property that allows us to add some text to the body as a subheading for g_modal.showFields?
Or if it is possible to change the names of ok and cancel buttons in g_modal.confirm that would also be helpful!
Reference I've looked into -
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2024 10:57 PM
Hello @DarshanaS,
Please refer to the link below:
https://www.servicenow.com/community/now-platform-forum/g-modal-is-there-any-documentation-what-can-...
If it is helpful, please mark it as helpful and accept the correct solution. In future, it might be helpful for someone to refer to this solution.
Thanks & Regards,
Abbas Shaik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2024 10:57 PM
Hello @DarshanaS,
Please refer to the link below:
https://www.servicenow.com/community/now-platform-forum/g-modal-is-there-any-documentation-what-can-...
If it is helpful, please mark it as helpful and accept the correct solution. In future, it might be helpful for someone to refer to this solution.
Thanks & Regards,
Abbas Shaik