Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

DocClose MessageBox returns

Avatar

Former Community Member
I have a dynamic form that I've created with a message at the end reminding the customer to save a copy for their records. What I'm not sure how to do, is have the user go back to the form if they click cancel. Here's my code for the docclose event:



xfa.host.messageBox("Did you submit your order and save a copy for your records?",2,2)



After the message comes up, the document closes when either option is clicked. How do I get it to go back to the form with the data still filled in, so they can do the options I mentioned above? (Save/submit)
18 Replies