How to prompt user before exiting a form?

I have a lot of fields in my form and what I want to be able to do is when the user accidentally taps Cancel, it would prompt or warn the user to save the data first before exiting the form.

Is there a way to do this?

Thank you!

No, I don’t believe so.

To do something like that you would need to build your own custom form screen.

4 Likes

Adding to what Darren said, if you’re building a custom form, the data the users enter, theoretically, will be there until they “submit” it (and you clear it with a set column action). If they want to go back to the previous screen then it’s totally fine, the data will still be there when they go back into your custom form.

4 Likes

Thank you!

1 Like