How to save state information using Javascript
I have a dynamic form. Currently, it opens in a condensed state. Based on a user's input, the state may expand considerably. After the user sends it via an email submit button, I would like the form to open and display all the filled out fields. I believe I need to set a state variable when the form is filled out, so I can examine its value when the form is reopened. How can I do this? It seems that if I use a global variable, its value is reset to the default value when the form is closed and reopened. I am using Javascript and LiveCycle Designer ES2. My target is Reader, and I save the form with the Reader Extended PDF (save)option.
John Tough