Hello all -
I have a large product configurator form and am using subforms and their presence property to hide or show fields based on user interaction. For example, I have a dropdown list with two items. If item 1 is selected, a previously invisible subform is made visible, revealing more dropdowns (product choices). If item 2 is selected, a different previously invisible subform is made visible, revealing a different set of more product choices.
The problem I'm having is when the form is submitted via email (as an entire PDF, not just the xml data), the fields in the subforms aren't visible in the email pdf, even though they are visible on the form and properly filled in by the user. For what it's worth, instead of an Email Submit Button, I'm using a regular button with the following javascript on the click event to email the form:
var mail;
var address = DropDownList1.rawValue;
mail = "mailto: " + address;
event.target.submitForm({
cURL: mail,
bEmpty: true,
cSubmitAs: "PDF",
cCharset: "utf-8"
});
The form has been Reader-enabled and saved as a dynamic form. I even tried manually forcing the subforms to be visible with the following script on the exit event of the submit button, but it did not work:
Page1.Products.ItemA_sub.presence = "visible";
I also tried it on the preSubmit event to no avial. Has anybody else had this problem? Can someone suggest a different approach? The goal is to get the fields in subforms to appear in a PDF email.
[bg=red]Business Forms Designer[/]