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

Auto Text boxes in Forms

worleybird
Registered: Jul 16 2007
Posts: 2

I have a series of radio buttons and depending on which one a user selects, I would like a text box to pop up (with different information depending on the radio button selected) - can you advise how to do this?

My Product Information:
Acrobat Pro 8, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi worleybird,

There are some articles here at AUC in JavaScript Corner that you should find helpful (example PDFs with code included).

One is about showing hidden fields when a radio button is checked but you could adjust this to show an information message instead of the form fields-
[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]

Then there is a 5 part series of articles on using pop-up windows- Part 1 on Alert boxes may be adequate for your needs, or if you have a lot of text or information for the pop-up then Part 5 on custom pop-ups may be what you need. Here is a link to Part 1 and you can follow links to the other parts from there-
[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/popup_windows_part1/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/popup_windows_part1/[/url]

Hope that helps,

Dimitri
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]