Save widget value without submit

Hello,

Im using Bonita 7.3.1. In a form, I have a areatext widget and a button. The input save the areatext value in a bdm value when I submit the form, but if a user write some text in the widget and close the form without submit, the value is lost. For this reason, I want agree a “save” button, which save the value if the user want close the form and continue later.

I can do it, with a submit button and a cycle flow in the same task, but ¿Some way to do it without submit?

Thanks

I would simply add a custom widget which does this.

  1. Custom Widget looks like a button called Save

User clicks this and you save it to the BDM via REST

OR

  1. Add a Custom Widget with onChange/onExitFocus event

When user exits field then save to BDM via REST

regards
Seán

PS: I believe this reply answers your question, please mark as resolved by ticking the tick mark on the left of this reply.

Hello Sean, I have analyzing your proposals, but I read in Bonita documentation, that Api Rest only permit get data from the BDM, but is not possible update or insert new data.

How can I get the default code for the button widget to modify and create a new custom button?