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

Adobe Refresh Managerについて

Sizing images of multiple resolutions for print on a page of one resolution

Illustrator cs6 "Invalid Serial Number"