I have a test document made with Adobe LCD ES2.
on this form I have a drop-down list with 3 options and on the exit event I have a script that should show or hide subform "fietsbel".
the script is as follows:
var CurSel = this.getDisplayItem(this.selectedIndex);
if (CurSel == "GLTW" || CurSel == "SCLTW")
{
xfa.form.DataSheet.TechnicalInformation.Fietsbel.p resence = "visible";
}
else
{
xfa.form.DataSheet.TechnicalInformation.Fietsbel.p resence = "hidden";
}
where dit I go wrong?
on this form I have a drop-down list with 3 options and on the exit event I have a script that should show or hide subform "fietsbel".
the script is as follows:
var CurSel = this.getDisplayItem(this.selectedIndex);
if (CurSel == "GLTW" || CurSel == "SCLTW")
{
xfa.form.DataSheet.TechnicalInformation.Fietsbel.p resence = "visible";
}
else
{
xfa.form.DataSheet.TechnicalInformation.Fietsbel.p resence = "hidden";
}
where dit I go wrong?
Comment