Is there a way to create a Confirmation screen pop over in my form when someone clicks “Cancel” ? I have a quite lengthy form and I want a pop-up to read:
“Are you sure you want to cancel this form? The information you entered will be lost?”
Okay. To give a little more detail: I have an app that healthcare workers will use (essentially as a digital survey form) to evaluate a patient. There are 7 parts to the evaluation. After, for example, the user finishes Part 1, they check a box “done” - those items from part 1 are hidden and the items from Part 2 become visible - this continues through Part 7. Some users, if they want to go back, are clicking the native Cancel button and losing everything.
Can the native Cancel button be removed from the form? As long as it is showing, there is a risk that someone will click it and have to start from the beginning.
For something like this I would probably consider a custom form. This would just be a detail screen with components that fill user specific columns, so as they enter data, it will be filling the column values in the table. You can use buttons to set visibility to show different sections or parts of the form. Once they have completed filling out he form, you could have a submit button which use a compound action to first use an Add Row action to take the user specific column values and write those values to a sheet. Then a second Set Column action that will clear all of those user specific columns, so it’s ready for the next form entry. This removes the need for the built in form and gives you a little more flexibility. Without the need to use the built in form, then there will not be a Cancel button for them to click.