Link to a template?
-
We are using Cognito Forms for a survey. I have the ability to redirect to a URL upon submission – I want to redirect to our E2PDF certificate Template. I’m at a loss as to how to do this? Do I create a webpage & put the certificate there – if so how? If not – does the template itself have a link?
-
Nevermind! I finally remembered – I use the URL of the view page as the redirect URL for the survey!
Hi,
E2Pdf is built to convert data from supported forms/WordPress Post&Pages/WordPress Custom Post Types to PDF documents. Unfortunately, Cognito Forms does not supported yet.
If you need to output static PDF, you can just connect E2Pdf Template to “WordPress” extension, and set item to “Pages”.
In this case you can just use shortcodes on any WordPress page:
[e2pdf-download id=”1″] or [e2pdf-view id=”1″]
* where 1 is the ID of your E2Pdf Template.In this case PDF will try to generate data from the page where this shortcode is placed.
If you need to set static Page ID, it can be done via “dataset” attribute:
[e2pdf-download id=”1″ dataset=”12″]
* where 12 is WordPress page ID.“e2pdf-download” – will generate download link / “e2pdf-view” – will generate PDF viewer with PDF inside.
P.S. E2Pdf can’t gather/store/save any data itself at this moment.
We remain at your service.
- This reply was modified 4 years, 11 months ago by Oleksandr.
I tried using the shortcodes on the page, in the text editor – never worked. No PDF every displayed. It’s not so much Cognito Forms. It’s the WordPress site, and I’m using the Beaver Builder editor. But when I created a page called “Certificate”, and published it (it’s just not available to anyone without knowing the URL) – nothing displays after I pasted in any of the shortcodes. I even had a friend who is a programmer look at it, & he can’t figure out why the PDF won’t display using the shortcodes. So I’m missing something. But like I said – I came up with a workaround! It’s a bit complicated, but it works. I’ll put it here in case it helps you help me, or it helps someone else!
I create the template, go to the view page for it, download the PDF (it has 1 input field for people to type in their name), then upload it to WordPress as a media item. I go to my Certificate webpage, insert the media, then view it – I finally get a viewable page that I then copy/paste into my Congnito forms submission, URL redirect section! Whew – got all that? !
Hi,
After doing some tests it looks like the issue is connected in conflict with Beaver Builder editor, when using [e2pdf-download id=”1″], with dynamic dataset. We are now investigating the issue if we can fix it from our side.
Meanwhile, you can try to define “dataset” in shortcode with current Page ID, which must work to generate a link. [e2pdf-download id=”1″ dataset=”22″]
If static dataset will not work for you, it will be very helpful if you create topic on our Help Desk, so we can share screenshots and can resolve issue the fastest we can: https://e2pdf.com/support/desk. Thank you.
We remain at your service.
We just released a hotfix for current issue with support of dynamic dataset.
Please follow steps in this topic:
https://e2pdf.com/support/desk/dynamic-dataset-id-with-wordpress-page-builder-beaver-builder.Let us know please if it will be any issues after applying hotfix. Thank you.
Keep attention please to copy shortcodes below or use shortcodes directly from your E2Pdf Template to have correct “double-quotes” around attribute values.
[e2pdf-download id="1"]
[e2pdf-download id="1" dataset="22"]
We remain at your service.
I replaced the file as instructed, but I still can’t get the shortcode to work. I’m sorry, I’m not a ‘programmer’, so I’m not clear as to what the dataset would be to use on the page. I’m pasting the exact shortcode from the e2PDF template list (I’m using the view one), but when I put that into the page using Beaver Builder, nothing displays. When I paste in the shortcode using the Standard Editor for WordPress – still nothing happens. I would be happy to share screen shots, if that would help. Let me know what next step you wish me to take.
Try please to click “Options” inside E2Pdf” Template, on top-right corner under “Shortcodes” button, and set:
Extension: WordPress
Item: PagesClick “Apply” and re-save Template with “Update” button. Be sure that near “Activation” it has “Activated” status.
If this will not work, please create topic at our HelpDesk here: https://e2pdf.com/support/desk/bugs-and-troubleshooting and attach:
– screenshot of your E2Pdf Template
– screenshot of page where visible [e2pdf… shortcode
– link to page where PDF must be shown (if it’s accessible).P.S. You can mark topic private so only you and support can see your topic.
We remain at your service.
Did all that, & then tried pasting in the short code as per the options on the template; got a new error!! Says that
Beaver Builder has detected a plugin conflict that is preventing the page from saving. (In technical terms there’s probably a PHP error in Ajax.)
Then it has info on contacting them…and ends with:
The PHP config value max_input_vars is only set to 1000. If you are using 3rd party addons this could very likely be the cause of this error.
Sorry – I have no clue what that means!
Please, create topic at our HelpDesk https://e2pdf.com/support/desk/bugs-and-troubleshooting, as we will need screenshot of error if possible so we can try to replicate it. If you will put inside page without Beaver Builder, will it work?
We remain at your service.
It did work using the Standard Editor; however, the only shortcode that showed the PDF on the page was the view one, & the one field I have for people to type in their name wasn’t active – appears to be a flat view only.
Unfortunately, built-in PDF viewer doesn’t support PDF Forms, you need to generate link with:
[e2pdf-download id="1"]
to open it in browser PDF Viewer. Keep in mind please, that PDF must be downloaded and be filled separately, in PDF Editor.We remain at your service.
Oh my – so after all this, my original way of getting them to the fillable one is the way to do it. Too funny! Okay – I do appreciate your help in this.
E2Pdf was actually developed exactly for this, but as it was mentioned above it doesn’t support Cognito Forms. We are checking now if we can add its integration also. For now you can try to use one of supported forms by E2Pdf, for example Formidable Forms.
We have also example how to do this: https://www.youtube.com/watch?v=_vDo0HiTaT8
We remain at your service.
- The topic ‘Link to a template?’ is closed to new replies.