- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
That helps. I changed the Values on the Binding tab to words, instead of numbers, and used your script like this:
LOA.Form1.ReasonDropDownList::change - (JavaScript, client)
if (xfa.event.newText == "Family"){
FamilySubform.presence = "visible"
} else {
FamilySubform.presence = "hidden"
}
Your script is this:
form1.#subform[0].DropDownList1::change - (JavaScript, client)
if (xfa.event.newText == "Family"){
FamilySubform.presence = "visible"
} else {
FamilySubform.presence = "hidden"
}
The only difference I can see is the first line.
Is there a way in this line if (xfa.event.newText == "Family"){
to say "LIKE" or "CONTAINS"? So that if the Text is actually longer, like "Family Leave: (complete section #4)," the script will work?
Views
Replies
Total Likes