Add a save button in create form task

Hi All,

I am trying to add a “Save” button on my form task. Right now, I have added a button component and added it as a click, for now. I want the form to be saved when clicking the save button.
Does anyone know know an optimal way I can save it without submitting it?

I have also tried adding the button action as a submit and adding a property “closeonSubmit” to false, it doesnt work.

@Pablito would you be able to help?

we assume the button should a save behaviour similar to the save button from Page header: available operations - save, rigth?

you are correct, in action center on the far right there’s a tiny save button. I need the same action to be done, but with a custom button.

we would suggest to investigate the form.io docu for more details on the API as we do feel that we can work against:

grafik

I dont think so, Submission is a JSON object whose values were submitted to a form or resource. So it’s not a doc submission.

I have also scouted the forms.io docs, doesnt seem to have a save button

Part 1:

With a F12 Browser Webtools and networking recording analysis we can trace:

SAVE Button from Page header: available operations

is Calling Action Rest Endpoint:

with Body:
grafik

Part 2:
As submission was titled as Object and not as JSON object we attacked at this level with the idea in mind:

grafik
https://help.form.io/developers/javascript-development/javascript-sdk

But did run against the wall and did not find an open door

As cross-check we used
grafik
return utils.getValue(submission,'FieldKey');
which was working fine

Yes, also when it was not out strategy and we were not expecting it within the list of:
grafik