Details for introducing onSave method:
-
We will have a property under control properties called ‘Save Event’, (similar to form event). Click on this, would open an editor similar to form event we will be able to enter the save event here. (Mock attached)
-
When the form is saved, the save event will be stored in the form json “events” tag, with a tag called “onFormSave”.
-
The onFormSave method will be called when the form save button is clicked on consultation, the output from the onFormSave method will be used to ,make the actual save api call.