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

    Why won't my print button work?

    Asked by slandow on August 26, 2011 at 10:14 PM
    Page URL:
    http://www.totallendersolutions.com/DOD.htm

  • Profile Image

    Answered by allanftd on August 27, 2011 at 12:22 AM

     

    Hi slandow,

    May we ask what in particular is the problem with your form's Print button?

    There is a workaround that you can do to manually create a Print button for your form which should print the whole form and not just the viewable screen. Please follow these steps:

    1) At the bottom of the form, insert a Free Text HTML field (located underPower Tools).

    2) Click Edit HTML button at the upper right corner of the field.

    3) Click Edit HTML icon  at the lower right corner of the field.

    4) Paste the following code in the free text area: 


    <p><a target="_blank" href="javascript:window.print()"><img src="http://www.kansasgymandcheer.com/images/print_button.gif" alt="" align="left" /></a> &nbsp; &nbsp; &nbsp; <input type="submit" value="Submit Form" /></p>

    5) Click Update to close the free text area window.


    6) Click Complete.

    To see the buttons at work, please visit this sample form - http://www.jotform.com/form/10873747777?
     

     

     

    Please let us know how this works out for you. Let us know if you need further assistance.

     


    Thank you for using JotForm!
    JOTFORM SUPPORT

     

  • Profile Image

    Answered by slandow on August 27, 2011 at 01:15 AM
    Thank you – I got that to work but what if I just want to print the form, not a whole screen shot?



  • Profile Image

    Answered by allanftd on August 27, 2011 at 01:41 AM

    Good that you're able to get it to work. These steps I provided to you earlier should print the whole form and not just the screenshot of what you're seeing in your screen.

    Other good alternatives that I could think of are:

    a. use your browser's built-in print function. Usually initiated by pressing Ctrl-P

    b. in the My Forms Page of your JotForm.com account, right click on the form you want to print and select Print PDF. 

    Please try any of these and let us know if it works for you or not. Thank you for using JotForm!

    JOTFORM SUPPORT

  • Profile Image

    Answered by slandow on August 27, 2011 at 01:54 AM

    thanks for the info but my "client" only needs to be able to print the form.  Each client will fill out the form, submit it via the submit button.  He will also need to be able to print it out as we need him to sign it and send us the original as well.

  • Profile Image

    Answered by allanftd on August 27, 2011 at 02:30 AM

    @slandow,

    In that case, the original suggestion will be a good solution for your requirement. 

    A variation of the code that I can suggest is the following:

    <input type="button" value=" Print this page "onclick="window.print();return false;" />

    You can still embed it in the Free Text (HTML) field. 

    Hope you find this tip useful. Let us know if we can be of further help.

    JOTFORM SUPPORT

  • Profile Image

    Answered by slandow on August 27, 2011 at 02:42 AM
    I use this code and nothing happens when I click on the button. L



  • Profile Image
    JotForm Support

    Answered by NeilVicente on August 27, 2011 at 02:44 AM

    Hi,

    Sorry to barge in, but your form is embedded using source code making it an actual part of the entire page. Thus, when the print button is pressed, the browser prints the entire page in the browser window.

    Try this solution:

    Remove the custom print button that was suggested by my colleague and bring back the real print button (with the submit button). Delete the old embed codes in your page then re-embed the form using Embed <> or iFrame method.

    1.  Go to Setup & Embed tab
    2.  Click Embed Form
    3.  Click Embed or iFrame



    4.  Copy the codes provided in the succeeding screen

    Let me know if it works or not. Thanks!


    Neil

  • Profile Image

    Answered by carrion4judge on January 30, 2012 at 03:31 PM

    I have tried both suggestions.  The final suggestion only prints the form not the entire page.  THe other suggestions doesnt work as when you click on the print button nothing happens.

    Any other suggestions or fixes to this issue?

    http://bluerayconcepts.com/designapproval/websites/acarrionwebsite/testform.html

  • Profile Image
    JotForm Support

    Answered by NeilVicente on January 30, 2012 at 03:39 PM

    @carrion4judge

    When the form is embedded as an iFrame, it is considered as a separate document. As such, clicking the print button will only print the form.

    If you want the whole page printed, including your site's header and menu, you must re-embed the form using source codes so that it will become a part of your webpage. Then, clicking the print button will print the whole page.

    To get your form's source codes:

    1.  Click Setup & Embed tab
    2.  Click Embed Form button
    3.  Choose Source option



    4.  Copy the codes provided in the succeeding screen

  • Profile Image

    Answered by carrion4judge on January 30, 2012 at 03:49 PM

    Thank you that worked.  Although the form lengthens beyond my footer once the print button is pushed.  Any ideas?

    It looks like when the print button is push the field labels align to the top.  Is there a way to keep them to the left?

  • Profile Image
    JotForm Support

    Answered by NeilVicente on January 30, 2012 at 04:15 PM

    Sorry, but I am not able to see the problem you described. If the issue still persists, please create a separate thread for it. Thanks!