I have a form developed only in 9.2 that has collapsible sections that are collapsed by default. After a user submits the form they have the option to print or download a copy. When they download a copy, the form appears correct in that the collapsible sections are expanded in the pdf. When they print a copy in Chrome, it shows up in the print preview but the collapsible sections are all collapsed. When they print it in IE, they do not get a preview but the actual page that is printed has those sections collapsed. How do I get the print function for the form submitter to show the collapsed sections as expanded or should I turn off the print option if there are collapsed sections in the form?
Question
Question
Answer
For now, you can add this custom Javascript to your form which should expand the section when the user loads the view submission page.
$(document).ready(function() { if(window.submissionPageCheck) { $('.collapsible').click() } });
Let me know if this works for you. Hope this helps.
Replies
You can expand the collapsed section when view the submitted form than click print button, the print function will print exactly as the submitted form you viewed.
That is not inherantly obvious to the general public who will be submitting this form. It would be nice if the form shown to them to print/email/download was then fully expanded so there was no issue or compliants from these publicly submitted forms.
We will check whether this is doable.
For now, you can add this custom Javascript to your form which should expand the section when the user loads the view submission page.
$(document).ready(function() { if(window.submissionPageCheck) { $('.collapsible').click() } });
Let me know if this works for you. Hope this helps.
Thanks for the code. I'll give that a try.
This issue has been fixed in Forms 10.
Thank you.