You are viewing limited content. For full access, please sign in.

Question

Question

Submitter Print Form Option Not Expanding Collapsable Sections

asked on October 17, 2014

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?

0 0

Answer

SELECTED ANSWER
replied on October 21, 2014 Show version history

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.

1 0

Replies

replied on October 19, 2014

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.

1 0
replied on October 20, 2014

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.

1 0
replied on October 21, 2014

We will check whether this is doable.

0 0
SELECTED ANSWER
replied on October 21, 2014 Show version history

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.

1 0
replied on October 21, 2014

Thanks for the code. I'll give that a try.

0 0
replied on April 29, 2016

This issue has been fixed in Forms 10.

Thank you.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.