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

Apearing of text boxes dynamically when an event happens

surekha
Registered: Feb 5 2009
Posts: 21

Hi all,
I am new to acrobat livecycle designer .I don't know how to display the text boxes with the selection of an item in a drop down list.please help me.

Thanks,
Surekha.

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Small Example how to do this.
Put a script like this into the exit or change event of your dropdown field.

if (Form1.Page1.DropdownField.rawValue=="ABC")
{
Form1.Page1.Text1.presence = "hidden";
Form1.Page1.Text2.presence = "visible";
}
if (Form1.Page1.DropdownField.rawValue=="DEF")
{
Form1.Page1.Text1.presence = "visible";
Form1.Page1.Text2.presence = "hidden";
}
...

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

surekha
Registered: Feb 5 2009
Posts: 21
Thanks radzmar for your quicker reply.
But I have dynamic drop down list, how can I access its items ? Because its elements are changing at run time.please reply for this.