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

Swap Tables (occuping same space) Depending on Radio Button Selection

Amy
Registered: Nov 21 2007
Posts: 7

I have a request from a client to swap tables depending on which radio button (only 2 options) is selected. The tables need to occupy the same space. How do I hide one table and display the other? Do you have code samples (prefer formcalc)? Also, how do I design 2 very different tables in the same space? Any help is much appreciated.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Take a look at these two articles, each suggest a different way to do what you want.

[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]

[url=http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle/]http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle/[/url]

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