- This topic is empty.
January 10, 2018 at 6:11 pm #17595web2Participant
I have setup a form, pdf and woocommerce product and its all working perfect apart from
1) How can I have a preview button under the from that users can click to view how their pdf will look. Currently I have set it up to automatically download but that gets triggered only after the user clicks the add to cart button. If it can work like the preview pfd button in the settings that would be fantastic.
How it should work https://gyazo.com/81ae8b16ebc1aa506ebd5081f4a9a265
Where I want to place the preview button https://gyazo.com/10964c5dc98c991d645229656180ba00
Once the user reviews the pdf he can then continue with adding to card.
2)Is it possible to have the pdf attached to the woocommerce order rather than a seperate email? (Not sure if this a FP2P question or woocommerce addon)
Thanks for the help and great job with the plugin.
ApJanuary 11, 2018 at 9:57 pm #17601adminKeymaster
The Formidable form MUST save the data before the user can ‘preview’ the PDF. There is no out-of-the-box or built-in method to accomplish your desired functionality. This will require custom programming that we have completed for other users for a reasonable fee. Complete this form if you would like us to provide you with an offer.
Here’s on overview of how this functionality may be accomplished;
. Create a duplicate of the WooCommerce product and change the “Add to Cart” button to “Next”, and change the Formidable form “On Submit” to redirect to the duplicate product and send the Formidable entry_id as a parameter.
. Create a Formidable form to “preview” the original form submission on the duplicated product page using Formidable’s Get a Value from an Entry shortcode to populate hidden fields and a HTML field to preview the text, or display a Formidable View with a “Preview” button. Or, we have also created an image with text overlay and watermark to simulate a preview of the PDF to avoid the user leaving the site to ‘preview’ the document.
A download link could be added to the WooCommerce Email Notifications with PHP code to generate a PRO2PDF download link the WooCommerce “Completed Order” and “Processing order” Email notifications. This will require custom development.
We remain at your service.