When a check box is checked, populate a text field with a value


i'm sure simple; new acrobat , javascript.

here want do:

i have checkbox field , text field. if checkbox "checked" want populate text field specific numeric value.  if left "unchecked" there no value or 0 value.  appreciated.

enter code custom calculation script of text field:

 

event.value = this.getfield("checkbox1").value == "off" ? 0 : 1234;



More discussions in JavaScript


adobe

Comments

Popular posts from this blog

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"