1 Reply Latest reply on Sep 12, 2013 9:06 AM by GingaDave

    Radio Button to Auto-Populate a Textfield

    GingaDave Level 1

      Im new to javascript - so please bear with me

       

      ive created a pdf with some fields to be filled in to by the reader

       

      i want it so when they select a certain radio button (within same group) each choice populates different text in the textfield.

       

       

      eg

       

       

      selecting the "Choice1" radio button (in Group1) will populate "you have selected Choice A" in the text field "text34"

      selecting the "Choice2" radio button (in Group1) will populate "you have selected Choice B" in the text field "text34"

       

      hope that makes sense

       

      any help will be appreciated

       

      btw - where do i place the js - in the radiobutton action - mousedown - run javascript.

      or in the textfield validate - run javascript

      or in calcution - custom script

       

      thanks