- MaryKerrAsked on March 13, 2018 at 10:00 AM
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.
- JotForm SupportdavidAnswered 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:
But the submit and print functions cannot be combined.
- MaryKerrAnswered 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?
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?
- JotForm SupportdavidAnswered on March 13, 2018 at 01: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:
You can clone it to your own account if that setup is acceptable:
- MaryKerrAnswered on March 13, 2018 at 01:12 PM
Got it. Thank you!