What functionality has the Save button on the published form

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

What functionality has the Save button on the published form

javaudvikling
This post was updated on .
Hi,

Can anyone tell me what functionality has the Save button on the published form:

1. Final submission.
   1.1 - If it's final submit, does it save in the exist DB, because i don't get a submit button?

2. Temporary save (draft)
   2.1 - If it's draft save, does it save in the exist DB ?
   2.3 - Is it possible to draft save, if there are many users, and how distinguish draft?

Regards
Balatharan
Reply | Threaded
Open this post in threaded view
|

Re: What functionality has the Save button on the published form

Erik Bruchez
Administrator
Balatharan,

This is now all fully configurable:

https://github.com/orbeon/orbeon-forms/wiki/Form-Runner:-Buttons-and-Processes

So yes, Save does save to the database.

The notion of "drafts" has changed with the autosave feature:

https://github.com/orbeon/orbeon-forms/wiki/Form-Runner:-Autosave

Autosave only works with logged in users so that deals with that issue.

On the other hand the current save-draft button just saves the data as usual, it's just that it doesn't check whether the data is valid first.

-Erik