Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-10-17 14:02:37

MartinPerry
Member
Registered: 2007-10-17
Posts: 0

Form Design with subforms

I need to have 2 radio buttons 1)Director, 2)Consultants. Depending on what the end user selects. I need to have different dropdown list with different data contained within. Both dropdowns cannot appear at the same time because of the data. Then my form will calculate based on the selections of the end user. To make things worse, the drop downs must appear in exactly the place on the form. I am beginner in form design with Adobe Designer 7.0. I am not sure what direction I should go or even how to write the script. Any ideas. Thanks, Martin


My Product Information:
LiveCycle Designer Pro 7 / Windows

Offline

 

#2 2007-10-18 12:15:29

thomp
Member

Registered: 2007-04-23
Posts: 1002

Re: Form Design with subforms

There are two approaches to a solution.  As you suggest, you could have two dropdown lists, when control the "presense" attribute of each from the Radio buttons.  Simply use the "MouseUp" event on the radio buttons to set this value.  something like:

MydropList1.presense = "visible";
MydropList2.presense = "invisible";

The other solution is cleaner from a form design perspective, but requires more scripting.  Rather than having two dropdowns, use one list and re-populate it with different data depending on the radio button setting.  Take a look at this article.  It explains exactly how to do this.   

http://www.acrobatusers.com/tutorials/2 … livecycle/


Here's an article that explains how radio buttons work.

http://www.acrobatusers.com/tutorials/2 … check_box/

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in