I am asking this on behalf of a coworker. We have a form she is working on with a drop down (ddlDropDown) with 1, 2, and 3 listed (same values,,1,2,3) That trigger hidden subforms to appear (Employee1, Employee2, Employee3). Initially, Employee1 is visible. If form user selects 2 or 3 in the dropdown then Employee2 and Employee3 become Visible. Once the form is filled in, saved, closed and reopened Employee2 and Employee3 are hidden again even though the dropdown says 2 or 3. The script behind the dropdown's change event is:
subSELECT.Employee1.presence=this.rawValue==1?"visible":"hidden";
subSELECT.Employee2.presence=this.rawValue==2?"visible":"hidden";
subSELECT.Employee3.presence=this.rawValue==3?"visible":"hidden";
I have tried adding this code to the form's initialize, docReady, preOpen, postOpen, layout:ready events but it still doesn't work.
Any ideas?