While I am filling out the form, all of the fields expand as appropriate. When I click the submit button, it attaches the PDF to an e-mail message with the proper To address and Subject text. But, when I open the attached e-mail message all of the fields that are supposed to be shown (based on their selections) are hidden. How do I get the completed form that is attached to the e-mail message to show all of the fields that the user selected?
Do I need to create some sort of validation script?
I THINK I have it figured out. I added an "initialize" script on a couple of fields and that seems to work (I'll have to add a LOT of initialize scripts if this is the answer). For example:
if (this.rawValue == 1)
form1.MainSubform.BodySubform.FirstSubform.Incident.presence = "visible"'
If anyone can think of a way that I can set all selected fields visible by default, I would gladly appreciate the input. Until then, I guess I am slowly adding these initialize scripts.