Could someone help me figure out why after saving a form some subforms are hidden again

Avatar

Avatar

dperani70

Avatar

dperani70

dperani70

18-12-2012

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?

View Entire Topic

Avatar

Avatar

Francis_Manly-E

Avatar

Francis_Manly-E

Francis_Manly-E

20-12-2012

Are you able to share your form or upload a sample that demonstrates the problem?

Here is post from Jono which explains how to upload your file using Acrobat.com,

"You can share your form via Workspaces on acrobat.com.

 

Upload the file and then Share it from the popup menu. You should get a popup that asks you to whether to Share and Publish, you want to Publish first and then Share to copy the link to share in the forum."