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

Check Boxes

lylesj
Registered: Sep 15 2009
Posts: 11

Is there any way to give check boxes a numeric value so I can use it in a calculation?

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Just assign a value to the 'Export Value on the"Options" tab for the field's Properties. Any calculations you preform may need to be coded to handle the non-selected state which has a value of "0ff" if you use the "Custom calculation script".

George Kaiser

lylesj
Registered: Sep 15 2009
Posts: 11
Thanks that worked but I'm having another problem. I am using the product(x) calculation option. I have 2 check boxes and only one can be checked at a time. I need it to multiply by only the selected check box. I can get it to work by having just one check box in the calculation but not with both.
try67
Expert
Registered: Oct 30 2008
Posts: 2399
Don't use check-boxes, then. What you describe should be implemented with radio-buttons.

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

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
You can make check boxes work similar to radio buttons by giving them the same name and different export values. Otherwise you would have to add some script to each button to make sure only one button is checked. Use of radio buttons would not allow for the de-selection of both buttons once one has been selected.

George Kaiser