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

Show Hide subform with Radio Button

dali77
Registered: Mar 3 2009
Posts: 5

I have read quite a few posts about the same issue, and i'm really hoping someone can give me some tips. This is the first time I'm posting..but here goes.

I have a form with a pair of radio buttons = male and female, I would like to have a subform become visible when female is on and hidden when male is on.

I really look forward to any help anyone can provide.

Thanks

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Look on the eSeminars on Demand page:
https://admin.adobe.acrobat.com/_a200985228/p87746471/

You'll also find more detailed info, and in fact a specific video tutorial on hiding and showing fields, at
www.pdfscripting.com

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

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

dali77
Registered: Mar 3 2009
Posts: 5
Thom,

Thank you for taking the time to write me back. Maybe I'm a little dense, however I can't locate the exact video tutorial explaining how to show/hide fields, at least not in regards to radio buttons.

I did try to access the following link, however that page could not be found.
http://www.acrobatusers.com/tutorials/2007/js_radio_check_box/

I understand there is no such thing a free lunch, and I am completely willing to join pdfscripting.com, I'm just looking for a little push in the right direction.

The initial e-seminar link you provided showing javascipting and formcalc is brilliant, that has been a great help to me.

I guess in all what i'm looking for is a simple script or at least a direction to an already established tutorial which explains how to make a subform become visible as soon as an item is selected from a given radio button list.

If you can't help me I understand, but thank you again for the help you have already provided.

Robert
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The e-seminar, linked to in my previous post, demonstrates hiding and showing fields from a check box, around 28 minutes in. This is nearly identical to using radio buttons

As for pdfscripting.com, there is a set of video tutorials on LiveCycle form scripting. The segment for next month is on Hiding and Showing fields. However. In order to understand this bit, you need to understand the material in the previous videos.

But regardless, since you've seen and understand the material in the eseminar, I think you already have enough information to do it. Just treat the Radio buttons as if they were check boxes. And follow the same methodology laid out in the eseminar.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

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