Expand my Community achievements bar.

Coversheet prompting to save when exiting

Avatar

Former Community Member
I created a coversheet that I would like a customer to fill out and print. This all works fine. When they close the document it prompts to save the form. Is there a way to bypass this message. I just want them to fill and print and that is all. It is kind of a pain to have that message pop up each time they go to close the form.





Thank you All
1 Reply

Avatar

Former Community Member
There is a dirty flag on the document object which can be set to false to prevent the prompt to save. You can access the document object with xfa.event in events on the form fields. You might have to put it in every change event. This is all off the top of my head so you might want to search for more details if this does not work.



xfa.event.dirty = false;