How to put a Save button in my form?

1
+2
-1

It´s possible put a Save button in my form? I think that this is necessary if the form is extensive and the user loose session on Bonita Portal. Exist some example to show me?

Thanks!

HRC

1 answer

1
+1
-1

When you say SAVE button are you on a single form or in a multi-form task/step?

As far as I now there is no such thing in Bonita, but you could add a SIMPLEBUTTON to your form call is save and then with a bit of JavaScript save all the variables to an external database (H2, MySQL, Postgres etc.).

You would then need to add some logic to the form (by way of a connector) to "see" the saved data and re populate the fields when the user restarts the form...

It's a fair bit of code work.

It would be REALLY useful if Bonita would allow Actions on both the SIMPLEBUTTON and/or the NEXT/Previous buttons. This would mean not having to use JavaScript...

Over to Bonita...

Hope that helps.

regards Seán

Notifications