Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi, I set mine up similarly to this thread and it works great for one subform but when I add more, it falls apart. Here's what I'm doing, I think my issue is with the else if syntax necessary to add additional subform hide/visible statements which correspond to the other drop down selections (fyi, there are 14 total in my dropwdown menu and I have been testing with raw values 11 & 3):
if
(this.selectedIndex == 11)
{
ActiveDirectorySubform.presence = "visible";
this.resolveNode("_ActiveDirectorySubform").setInstances(1);
}
else
{
ActiveDirectorySubform.presence
= "hidden";
this.resolveNode("_ActiveDirectorySubform ").setInstances(0);
}
if
(this.selectedIndex == 3){
AssociatemachineSubform.presence
= "visible";
this.resolveNode("_AssociatemachineSubform").setInstances(1);
}
else
{
AssociatemachineSubform.presence
= "hidden";
this.resolveNode("_AssociatemachineSubform ").setInstances(0);
}
this.rawValue;
Can someone please help me get this right?
Thanks!!!!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies