The Print button is not working when the form is embedded on my website

  • Profile Image
    stilwellkiwanis
    Asked on December 03, 2019 at 04:08 AM
    I have embedded the form and tested it. All works well, the form went to
    the correct email address and the thank you went to my personal email which
    I put on the test form. The only problem is in the print form on the
    application. I pressed it before I pressed "Submit" but nothing happened.
    What do I need to do fix this?
    Thank you,
    Penny Dotson
  • Profile Image
    Richie_P
    Answered on December 03, 2019 at 07:15 AM

    To clarify, when you press the print button it doesn't open the print window?

    Can you please share the web page you have embedded the form so that we can check it out?

    Looking forward for your response.

  • Profile Image
    stilwellkiwanis
    Answered on December 03, 2019 at 11:50 AM
    I don't think my earlier answer went through so here it is again. To
    answer your question, yes, when I press Print nothing happens. The URL for
    the embedded form on GoDaddy is:
    https://strawberrycapital.com/online-application
    Thank you for your help.
    Penny Dotson
    stilwellkiwanis@gmail.com
    ...
  • Profile Image
    Richie_P
    Answered on December 03, 2019 at 12:01 PM

    Can you please try to embed the form using the Iframe code ?

    Guide:https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code

    Let us know how it goes.

  • Profile Image
    stilwellkiwanis
    Answered on December 03, 2019 at 05:50 PM
    I replaced the code with the iFrame Code as you suggested and the same
    thing happens. When I test the form on JotForm, the print button works.
    But on the webpage, nothing happens when the print button is pressed. The
    email autoresponse to the applicant works and the form is sent to the
    designated email address. What do I do next?
    Penny Dotson
    ...
  • Profile Image
    Welvin
    Answered on December 04, 2019 at 12:39 AM

    Hello Penny,

    It is not working due to your Sandbox permission on the website for iframe elements. You will see the following line if you will view the source of your website:

    You will have to check if you can modify this and add "allow-modals", so:

    From:

    sandbox="allow-scripts allow-same-origin allow-forms allow-popups allow-presentation allow-top-navigation"

    To:

    sandbox="allow-modals allow-scripts allow-same-origin allow-forms allow-popups allow-presentation allow-top-navigation"

    If you cannot do this, Godaddy should be able to help you. 

  • Profile Image
    stilwellkiwanis
    Answered on December 04, 2019 at 10:50 AM
    Thanks, I will try this and let you know what happens.
    ...