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

Calculate field if CheckBox

MacroAlan
Registered: Apr 7 2011
Posts: 1

In our form, we have a check box. If the box is checked, we want to run a calculation in another field.
 

if (NeedTuit=1) then
	TuitionTuitionBalance * .5;
endif

 
the checkbox is NeedTuit -- why won't it calculate in my field?
 
Alan
total Newbie

Alan
Total Newbie

My Product Information:
Acrobat Pro 9.0, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
"=" is the set operator and not the equality operator.

You need to use "==" or "eq" in LiveCycle Designer FormCalc.

If you created the form in Acrobat you can not use the FormCalc syntax, you need to use the Acrobat JavaScript syntax.

George Kaiser