Need two ui actions Save and Submit on form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2022 04:13 AM
I have a requirement like this:
I want two buttons on the form 1. Save 2. Submit
The form contains mandatory fields and when user fills the form, if he don't know what to fill in few of mandatory fields then he can click on save button and can comeback later with all information. when save button is clicked then form should be saved with whatever information he filled even though mandatory fields are not filled.
When Submit button is clicked it should check whether all mandatory fields are filled and then form should be submitted if all mandatory fields are filled.
Can anyone please provide solution to achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2022 06:41 AM
HI Nikil55
Your submit solution is pretty straight forward. There are several existing Submit UI actions. Just grab a copy of the appropriate Global version and tailor it to the relevant table.
For save, you may have to get creative with the client side scripting. My suspicion is that if you try to do the save with mandatory fields missing the save is failing. You can try having the client side scripting turn off mandatory for the blank fields before submitting the save.
:{)
Helpful and Correct tags are appreciated and help others to find information faster