I have looked around the forum and nobody has quite answered my question.
I have a form which I am submitting to SharePoint. I get the 'do you want to save Formx' message if the user tries to exit the form with outstanding changes - this is confusing for them as they don't understand the difference between saving and submitting, So I want to switch off the prompting on closing the form. BUT I do want to warn users that IF they have made changes they could be lost.
My simplest solution is to have 3 buttons - Submit, Exit Without Submitting, Exit. I would make the buttons different colours so they stood out.
Exit Without Submitting should only be visible if there have been changes to the form
Exit should only be visible if there have not been any changes to the form since the last submit
How do I access the Form's Dirty flag from a conditional format ? Or can I have a field which picks up the Dirty flag as a default value and then using conditional formatting based on that field? I had thought of using a rule/after change to set a field's value to dirty if changes had been made but this would mean a lot of rules/code snippets from each of the fields and if the form already has a flag I could use it would be simpler.
Thank you
Catharine