Andrew
asked on
Livecycle Designer - Show/Hide subforms based on selection of a dropdown
Hi Experts
I am in the process of designing an interactive pdf, and depending on a selection from a dropdown at the top of the first page, I want to show/hide different subforms later on in the document.
I have tried the following script attached to the 'change' event without success:
I cannot figure out where I am going wrong.
Thanks Andy
I am in the process of designing an interactive pdf, and depending on a selection from a dropdown at the top of the first page, I want to show/hide different subforms later on in the document.
I have tried the following script attached to the 'change' event without success:
form1.Page1.DropDownList1: :change - (JavaScript, client)
if(xfa.event.newText == '3'){
sub3.presence = "visible";
sub2.presence = "hidden";
sub1.presence = "hidden";
sub4.presence = "hidden";
}
if(xfa.event.newText == '3'){
sub3.presence = "visible";
sub2.presence = "hidden";
sub1.presence = "hidden";
sub4.presence = "hidden";
}
I cannot figure out where I am going wrong.
Thanks Andy
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER