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

change a calculated field property to = "value is not calculated"

sol.manager
Registered: Oct 1 2009
Posts: 17
Answered

I have a field which is currently set to be a calculated field. The field is named "P-base".

I have a button I have added that I would like the user to be able to click that changes the "P-base" field to no longer be calculated. I know this is easy, but I cannot find the answer.

So, what is the shortest bit of script that will change a fields calculate property equal to "Value is not calculated".

Thank you in advance for any assistance.

My Product Information:
Acrobat Pro 8.1.6, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2399
this.getField("P-base").setAction("Calculate","");

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

sol.manager
Registered: Oct 1 2009
Posts: 17
Thank you . This is exactly what I was looking for. Thank you, thank you, thank you.