I can't get this if statement/calculation to work



in acrobat form want check see if checkbox field has been checked (value=yes) and, if has, put specific, static number in field. that's it.  seems simple can't figure out.  (excel--yes.  acrobat script--no.)  please help! ahead.

in target field's custom calculation field, enter this:

 

if (this.getfield("checkbox1").value=="yes") {event.value = 12;}

 

you need change name of check box field (between quotes)

and of course value want apply.



More discussions in JavaScript


adobe

Comments

Popular posts from this blog

Christian Home School Programs - Joomla! Forum - community, help and support

Typo in documentation

captcha in coldfusion MX