Modal before form is saved
I have a use case where a user can create an invoice. When the totals are not correct, I want to show a form to the user when he is saving the form (create or edit page), where the user is asked if he wants the totals to be corrected.
How can I show a form upon clicking save?
The modal should show these actions: "Correct" after which everything is corrected and then the form is saved. And "cancel" which closes the modal and halts the saving process.
If you have any ideas, or can point me in the right direction, please let me know. Your help is greatly appreciated.
0 Replies