Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Dropdown menu inactive until click...

Avatar

Level 1

How do I make a dropdown menu inactive until the option (checkbox) is clicked? Thanks.

0 Replies

Avatar

Level 10

Not sure I follow ....can you elaborate?

Paul

Avatar

Level 1

I have a form field with 2 checkboxes and 1 dropdown menu.

i.e.:

[1] Text

[2] Text  [dropdown menu]

I would like the dropdown menu to be inactive unless checkbox 2 is clicked.

I am new to Livecycle Designer and am trying to figure out how to use the Source Editor.

Thanks.

Avatar

Level 10

Ah ....now I understand. Assuming the checkboxes are called CheckBox1 and CheckBox2 and the DropList is called DDList1 then on CheckBox2 change event you would add this code:

if (this.rawValue == 1){

     DDList1.access = ""

} else {

     DDList1.access = "readOnly"

}

Also you woudl have the DDList set as readOnly to begin with.

Paul