Is it possible to show a "Save confirmation" Dialog before saving the data? I would like to preview the added/changed data and ask the user to confirm that this information is correct.
Currently there isn't a built in option for that. It is something that is on my feature list and will be added in future, although I don't yet have a time frame.
For the moment you could use preSubmit and a flag. On the first preSubmit cancel it (by returning false) and have a modal, or confirm() which will do the confirmation. When it is complete, set the flag which will make the preSubmit callback submit rather than show the confirm message.
Answers
Currently there isn't a built in option for that. It is something that is on my feature list and will be added in future, although I don't yet have a time frame.
For the moment you could use
preSubmit
and a flag. On the firstpreSubmit
cancel it (by returning false) and have a modal, orconfirm()
which will do the confirmation. When it is complete, set the flag which will make thepreSubmit
callback submit rather than show the confirm message.Allan