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

Need to be able to save LC form(s) if browser closes

Tech264
Registered: Apr 4 2008
Posts: 111

I have many forms created in LiveCycle and put on our company website. I've gotten a few complaints from employees that when they type their forms and they accidentally close the browser instead of minimizing it they've lost everything they just finished typing. Is it possible to put a JS code in our forms so that if that happens they will get a prompt asking them if they want to save the form before they close the browser?

Thank you

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
I don't see a possibility, because the docClose event is not available if the form is viewed in a browser.
So you can't use it to execute a script to alert the users.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs