What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Automatically open print dialog for thank you message

    Asked by jodyb on February 11, 2014 at 04:25 PM

    I would like to automatically open the print dialog box when the form is submitted and the thank you message opens. Is that possible? If so, please tell me how.  I have tried java script tips from the net... but they are not working. Thank you.

    Page URL:
    http://form.jotformpro.com/form/40408520054948

    Thank You message print message and
  • Profile Image
    JotForm Support

    Answered by Mike_T on February 11, 2014 at 05:45 PM

    Thank you for contacting us.

    I do not think that this is possible with our Thank You Pages since we block Javascript code to avoid possible XSS attacks.

    As an alternative, you can redirect form users to your own page and add the printing functionality there.

    If you would like to show the form submission data on your custom Thank You Page, you will need to enable a Post data option, and handle the data using some scripting language.

    If you need any further assistance, please let us know.

  • Profile Image

    Answered by jodyb on February 12, 2014 at 06:15 PM

    This is a feature that would be very useful for my application... it seems like others would find this useful, too!  Would there be any way to add this capability?  If not, could someone there do this for my particular forms?

  • Profile Image
    JotForm Support

    Answered by jonathan on February 12, 2014 at 06:38 PM

    @jodyb

    Hi, there is already a feature request to have Print option in the form's Thank You page.

    I will include this thread on the feature request ticket.

    --

    For the meantime, as our colleague Mike_T had already suggested, it can be achieved at this time by redirecting the Thank You message to your own website page using the custom URL redirect.
    And then use the Send Post Data option to capture the submission data. Please refer to this guide also
    Hope this help. Inform us if you need further assistance.
    Thanks!
  • Profile Image

    Answered by jodyb on February 12, 2014 at 09:09 PM

    Would javascript work on another form page? In other words, if I pass the submission data to a second form, could I put the code in that second form to open the print dialog window?

  • Profile Image

    Answered by Cesar on February 12, 2014 at 10:34 PM

    You can send the information to a second form.
    Using this guide: Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page

    I'm not quite too sure a Javascript code would work on another form, in any case getting the data to another form is possible. I would suggest to send this data to webpage instead, as suggested by my colleagues.

    Thank you.