combine print button and submit button
-
Hi
I’m trying to combine print button and submit button all in one, for example when I click send at the same time I do the printing.I’ve tried the blow method but I get blank white page when the new page opens!
Try this: create your submit button using the print-o-matic roll-your-own method as follows:
1. create your cf7 submit/print button by assigning it a unique ID (in this case subprint) and a class of printomatic.
[submit id:subprint class:printomatic]
2. manually insert a hidden input that has the ID of “target-<your_unique_id>” and a value of the target you wish to print.
<input type=”hidden” id=”target-subprint” value=”.wpcf7-form” />
3. be sure the ‘Shortcode Loads Scripts’ checkbox is NOT checked in the plugins options page.Any suggestion?
Also how can I hide the button from the the print so it wont print?
Thanks
- The topic ‘combine print button and submit button’ is closed to new replies.