Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: radio button selection requires associated text field input


Message #1 by "C. DeFeciani" <carol_defeciani@h...> on Thu, 6 Dec 2001 18:39:00
I am using Adobe Acrobat to create a PDF form that will be emailed when the submit button is selected.

in my form, there is a radio buttong choice of "Staff" or "Consultant."  If the person selects the radio 
button for "Consultant" i want to make it a requirement that they then complete the text field "Firm."

If they select "Staff" the firm box is not applicable and therefore is not a required field.

Can someone give me some javascript code I can plug into my Adobe Acrobat file (there is a place to  
specify Mouse Down, select and action of "javascript" and then add the javascript code) that will givce 
me my desired resulkt. I've looked around on the web quite a bit but can't find instructions on how to 
dow this.

mnay thanks -

carol

  Return to Index