I am making a form using livecycle designer. I want my second drop down list (Conference Room) to either be visible or invisible base on the choice of the first drop down list (Building). I am new to Javascript and Livecycle. I found this script online and modify base on my object name, but it does not work. My script so far is
if (buildingdropdownlist.rawValue == "A") {
ConferenceRoom.presence = "visible";
} else {
ConferenceRoom.presence = "invisible";
}
I am putting this script as a "formready" in the second drop-down list. Is this where it is suppose to go? Is the script correct?
Views
Replies
Total Likes
Place in exit event.
Views
Replies
Total Likes
As greenlnd34 said put it in the exit event...
Also "invisible" has a difference from "hidden", if your form is flowable and you set your field to invisible, it will stay in the form but it will not be visible.
If you want it to disappear from the form and let the flow do the job, use "hidden"
Views
Replies
Total Likes