This will no doubt be easy for someone but I cannot seem to get the scripting right and I am looking for some help. I would like the user to select from a drop-down list (YES or NO) the answer would then populate another field with either (PASS or FAIL). I am new at this and not sure what I am doing wrong. I think the script would look something like this:
if (DropDownList1=YES)
then (TextField=PASS)
elseif (DropDownList1=NO)
then (TextField1=FAIL)
endif
Also can this be a conditional for an entire form? If I have multiple sections that someone could select Yes or No, can I have the calculation preform as a "check and balance"? I don't want the selection to change the form to one answer or another, just upon selection it will run the script and populate the other field accordingly.
Thanks
if (DropDownList1 == 'YES') then
TextField = 'PASS'
elseif (DropDownList1 eq 'NO') then
TextField1 = 'FAIL'
endif
It is possible to write a document level function that when passed a value will return the result of a comparison.
George Kaiser