2 Replies Latest reply on Jan 16, 2013 9:34 AM by Andy Barba

    Populating Text Fields by checking checkboxes

    Andy Barba

      Hello!

       

      I'm new to javascript but am confident I can do something like this. Here's my scenario:

       

      I have an invoice form that asks if there will be photography at an event. If there is, there is a $50 fee.

       

      I set it up like this:

       

      Photography?

      [No] [Yes] (two checkboxes with same name and different export values)

       

      I want to be able to populate a separate text field if the user clicks "Yes" with the value of 50.

      I also want to be able to revert that same text field to a value of 0 if the user clicks back on "No".

       

      Again, just a beginner! Thank you in advance!

       

      -Andy

       

       

      PS. I am using Acrobat X Pro on a Mac.