I want to first ask user do you want to save? and then use parser.saveform to save form and then refresh the form.
This is like auto save function but only after user confirmation. How do I do that. Aware does not allow putting any message except error in BO rules and then I have to do some other route whenever I need some message or confirmation before save. I need to refresh the form as there is a calculation to show after save. Autosave on field works but I can not ask for confirmation before save so I have to disable autosave and use some workaround...
Steps needed-
User changes one text field and on lost focus(not autosave but ask and then save) Aware asks do you want to save?
if yes then save form and refreshes the form which shows new values in form and query grid in the form with new calculated values coming from calcs in BO save rules.
parser.saveform and then refresh via javascript
-
- Posts: 370
- Joined: Sat Apr 28, 2018 3:33 am
- Location: India
- Contact:
-
- Posts: 370
- Joined: Sat Apr 28, 2018 3:33 am
- Location: India
- Contact:
Re: parser.saveform and then refresh via javascript
I used this thread to find a solution and get it working-
https://www.awareim.com/forum/viewtopic ... t=setvalue
https://www.awareim.com/forum/viewtopic ... t=setvalue