Making Submit & Print one option

  • MaryKerr
    Asked on March 13, 2018 at 10:00 AM

    Hi,

    Is there a way to inject CSS code so that when a client clicks the Submit button, the form also prints?

    It could be the other way around...when someone clicks print, it submits the form. I've left both options on the page for now.

    We need to keep track of the submissions, but we also need a paper record.

    Thanks,

    Adrienne


  • David JotForm Support
    Replied on March 13, 2018 at 11:43 AM

    It is not currently possible to assign the print function to the submit button or visa versa.  CSS only applies to styling elements, it does not allow for reassigning functionality.  A print button could be added to the form:

    https://www.jotform.com/help/24-Print-Button-on-Forms

    But the submit and print functions cannot be combined. 

  • MaryKerr
    Replied on March 13, 2018 at 11:55 AM

    Ok. I have already added the Print Button to the form. Is there a way to arrange the order and make the Print Order button appear before the Submit Button?

    OR:

    Is there a way to hide the submit button until the client has hit the print button? So for example, the client makes selections, hits print (only button showing), after this, the submit button appears but print disappears?



  • David JotForm Support
    Replied on March 13, 2018 at 1:04 PM

    There is no way to check to see if the print button has been pressed or not but you could show a print button button, then the submit button on another page.  This would require adding another submit button field to the form, adding a print button to that field, then hiding the submit button using CSS.  Then add a page break field to the form and put the final submit button field after that.

    Here is an example form to show what I mean:

    https://form.jotform.com/80714854121957

    You can clone it to your own account if that setup is acceptable:

    https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

  • MaryKerr
    Replied on March 13, 2018 at 1:12 PM

    Got it. Thank you!