These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Form Design

dpottsii
Registered: Aug 29 2007
Posts: 6

I have a combo box that contains the following categories:
Entertainment
Meals
Mileage
Phone
Lodging
 
When a user selects mileage I want a text box to appear so the user may enter the miles driven. When a user selects any other option I want nothing to happen (miles driven box will remain hidden.) I am not finding any examples of this using a text box. I only see this for radio, check, and radio check boxes. Is there a way to do this? If so what is the code example.

My Product Information:
Acrobat Pro 7.0.9, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Read this article

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/show_hide_fields/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/show_hide_fields/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script