I'm writing a simple script to hide the textfield when I click on button which is pretty straight forward.
The script goes this way
form1.page1.TextField1.presence = "hidden";
It hides the field onclick as expected but when I close and open the pdf again I still see the text field visible on pdf. This is been very annoying problem since couple of days. Any help is greatly appreciated.
I"m saving the file and setting the form properties as Acrobat 7(Dynamic) xml Form.
I'm using adobe livecycle 8.0 to design this PDF.