Tagged: automatic download, change title, shortcode
- This topic has 2 replies, 2 voices, and was last updated 4 years ago by admin.
-
AuthorPosts
-
Sonya TelfairParticipant
I have created a form to connect to my pdf file and that part is working perfect. What I want to do is have the form ask for a new title for the new form and then download it. I’ve read through the documentation and see where you can create a field to change the title and to even download, but I’m confused as to how to administer the shortcode or to how to make this happen. Please help.
adminKeymasterIf your question regarding ‘title’ is the ‘filename’, then;
(‘x’ = YOUR FORM and ‘y’ = YOUR LAYOUT)– Add a field to your form, we’ll call it [100].
– The shortcode would be: [formidable-download form=”x” dataset=[id] layout=”y” filename=[100]]
– To automatically download after clicking submit
[formidable-download form=”x” dataset=[id] layout=”y” filename=[100] download=”auto”]
(NOTE: The shortcode above does NOT create a download link)
– To open PDF in browser after clicking link:
[formidable-download form=”x” dataset=[id] layout=”y” filename=[100] inline=1]If your question regarding ‘title’ is to have a dynamic TITLE of the download link, then;
– The shortcode would be: [formidable-download form=”x” dataset=[id] layout=”y” title=[100]]Let us know if we answered your question.
We remain at your service.
adminKeymasterIf you want to “automatically download” AND “create a download link”, you need to use two shortcodes.
-
AuthorPosts