Do you want to Save changes popup Save button click handler Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019 06:06 AM
Hi,
in UI page page if user add some field information/text and clicks on any other hyperlinks system is showing popup message saying that "Do you want to save changes before leaving this page" with two buttons Discard and Save buttons.
I am facing issue here. If user did not fill any mandatory fields and click save button on the popup it is not highlighting/validating the mandatory fields. How to handle this.
where can i find the that popup save button click handler.
Thanks In Advance
JG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019 07:03 AM
Hi JG,
For the pop up message validations , in ui page you have to write a client script function in which you can add the validations and call the function in onclick of the save button.
Please refer "checklist_save_as_template" OOB ui page.
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Regards,
Swathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019 07:25 AM
Dear Swathi,
Thanks for your reply. It is dynamic page so where i have to write client scripts for that. I have tried by writing client scripts for the below pages
UI page name : _form
it did not work for me. we are supplying table name and view name to the above page and page is loading the fields for the table.
so how to write that.
Thanks in Advance
JG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019 12:34 AM
Any one can help please