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

How do I activate "Save As" upon closing a document

Avatar

Level 2

I've created several forms that I placed on a shared network drive & intranet for people to use.  After the user fills out the form, they can then print it using the print button on the form.  When they close out of the form, a box opens and asks them if they "want to save the changes before closing - yes, no, cancel".  If they select "yes", their changes save in the current form so when the next user opens the form, it's populated with the previous users information.  What I need to happen is when the user selects "yes" to save the form, a "save as" box opens so they have to save it in another place.  Can someone point me in the right direction?

1 Reply

Avatar

Level 1

Hi,

I think the best solution for this problem is to reset the form before saving the form and all you need to do is add a script line which is

xfa.host.resetData("FORMNAME");