Expand my Community achievements bar.

Form level variable only accessible to present Form in all events

Avatar

Former Community Member
We are using Adobe Designer 7 and Adobe Reader 7.0.5. We have one PDF Form Form22. We have one variable called varXML which we are

assigning the value during signing the Form like

varXML = xfa.data.Form22.saveXML();



And this variable we are using in Form initialize event. So, when we open the Form, initialize event will be called and at that time varXML is undefined.

This is how it has to work.



But the problem is when we are opening another copy of Form22 in the same Reader, varXML is not coming as undefined in initialize event. It is taking the value from varXML of first opened Form. This is creating lot of problems.



Please advice us how to declare a variable which must be available for all the events in a Form, but should not be available for other instances of

same Form even if the Forms are opened on same Adobe Reader.
0 Replies