Previous | Next | (P-PDF) JavaScript
Topic: Check Box Values (and Conditional Form Fields)
Conf: (P-PDF) JavaScript, Msg: 27556
From: effulgent
Date: 9/25/2001 03:00 AM
I have searched all over the web and throughtout the Adobe help manuals, and thought I may find assistance to my question here. I have an Adobe Acrobat form that has two fields: FieldA and FieldB. FieldA is a check box, and FieldB is a number box. I want FieldB to have the number 25 generated in it only if FieldA has a check in it, but I want FieldB to be blank if FieldA is not checked.
I know how to create a javascript that activates a field when a condition is met in another field; however, I do not know how to designate an event value in a checked check box.
My question is: Does anyone on the forum have an example of JavaScript that will allow the form to be blank in FieldB until FieldA has been checked? I am going to use a Sum field later in the form, so FieldB has to be blank unless FieldA is checked for the sum to add up correctly.
Thank you.