I am not a programmer to I need an example in (pref. Formcalc) or Javascript to enter in the script editor of Livecycle for an interactive order form I am creating.
I need "ItemTotal[31]" field to perform a calculation only when "Add-onCheckBox1" is clicked. Once Add-onCheckBox1 is clicked I want the ItemTotal[31] field to calculate the Quantity field multiplied by 300 and return the results this field. Below is what I tried but keep getting errors.
if (Add-onCheckBox1 == 1) then
ItemTotal[31] == Quantity *300