Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Coversheet prompting to save when exiting


Not applicable
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


Level 6
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;

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now