These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Disable save prompt when closing form

drizagon
Registered: Oct 22 2009
Posts: 41

Hello,

I am looking for a scripting command to stop the prompt to save a form. I am sending the form via a submit button, so a locally saved copy is unnecessary since the form will be attached to a sent email.

Does anyone know how to stop the prompt to save the form once it is completed?

Thanks in advance for any insight!

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hi,

you can control the appearance of the dialog with a small JS.

var MyDoc = event.target;MyDoc.dirty = false;

I have an example form for this task.
[url]http://thelivecycle.blogspot.com/2009/11/control-appearance-of-save-changes.php[/url]

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

drizagon
Registered: Oct 22 2009
Posts: 41
Hello radzmar,

I put the code in the click event of the submit button, but it still prompts the save dialogue...any suggestions?

Thanks again,
Drizagon