maximum.software
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Send PDF Copy of Page Content and Form ContentThere is no reason to make yet another template system based PDF generation plugin with so many great options already available.
This plugin is designed to fit specific use cases, a lot of which can’t work with the template model. It is a “filler”, not an “generator”.
There are a lot of limitations that come with having a template system. The ability to provide your own PDF with whatever features you want is an advantage. Users are free to make use of a wide array of features available in the PDF standard and are not limited by whatever a template builder is able to do. I would say that having the option to use ANY PDF editor in the world is more flexibility than having to use a specific limited template system.
Sometimes, filling user’s EXACT PDF is a requirement. A template system isn’t going to work for such users.
If this plugin doesn’t fit your use case then that’s ok. Use one of the plugins you found that works better.
However, I am planning to add a lot of features in the future to improve user experience and add certain features that would complement the “filler” theme.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Send PDF Copy of Page Content and Form ContentThe video tutorials you’ve provided demonstrate a concept that is different from how PDF Form Filler works.
Plugins like Fluent Forms, Formidable Forms and Forminator work by generating a PDF from scratch based on a template specification provided by the user via their built-in template builder.
PDF Form Filler works by having the user prepare a PDF using an external PDF editing software and then providing it to the plugin. The plugin then adds form submission information into the user’s PDF (without having to create it via a template system).
The PDF you’ve provided does not contain form fields. It does have something that looks like a field to a human, but it is not a real PDF field. Currently, PDF Forms Filler does not support detection of ‘fake’ fields. You will need to add actual form fields to your PDF. I believe this is possible with MS Word, however, you can use any other software out there to do this, even web based tools like PDFescape.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Send PDF Copy of Page Content and Form Content1. I haven’t used MS Word myself to create PDF documents, however, some users have done it, so, I believe that should work. Make sure to add form fields to your document, such as the text box for their name and the consent checkbox.
2. You will need to do a few things:
a. Attach your PDF file to your CF7 using the “PDF Form” tag generator thickbox.
b. Edit the attachment options to configure where you want your filled PDF to go
c. Create a mapping between your CF7 fields and you PDF fields using the “Field Mapper Tool” in the “PDF Form” tag generator thickbox.
d. Create an image embed configuration for your signature using the “Image Embedding Tool” in the “PDF Form” tag generator thickbox.See plugin documentation for more details.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Send PDF Copy of Page Content and Form ContentI see that you already have a CF7 form ready with the checkbox and the signature field. Can you prepare a PDF file (using some PDF editor software that you have access to) that has the same agreement as the page that your form is on?
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Send PDF Copy of Page Content and Form ContentHi,
Signing documents isn’t the best fit use for my plugin, however, it can be done.
First, you will need to create a PDF with your agreement, the consent checkbox and space for the signature.
You will then need to create a CF7 form with a checkbox, attach your PDF (using my plugin) and map that checkbox to your consent field in your PDF using the Field Mapper Tool.
You will need to install a CF7 signature plugin for the signatures. One option is the CF7Sign plugin. I have seen two other plugins that might work. These plugins allow you to add a signature field to your CF7 form.
You will then need to create the signature field in your CF7 and use the Image Embedding Tool to set up embedding of the signature field on the right page in the right location.
You can use the secondary email feature of CF7 to send a copy to the admin. Be sure to enable attachment of the filled PDF to the secondary email. I would also recommend enabling the flatten option.
Let me know if that helps or not.
Thanks.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Payment on PDF’sHi Andrew
I don’t think you can make it work with WooCommerce, but you can use something that integrates with Contact Form 7.
Contact Form 7 itself has a built in Stripe integration. I haven’t tried it myself, however, I don’t see why it wouldn’t work for you.
Someone used Contact Form 7 – PayPal & Stripe Add-on to make this work a few years back. As I recall, everything was working fine until an update over a year ago or so. I found an issue in their plugin and applied a temporary fix for the user. I did ask the user to get in touch with the developers of that plugin and ask them to permanently fix that one issue. Hopefully, they fixed it by now.
Let me know if you run into issues with any of the above options.
Thanks.
Looks like this is a duplicate post. Please see the original here.
The download feature doesn’t have a conditionality option based on CF7 field values. However, you may be able to combine it with the “skip when empty” option to achieve the same result. It is not easy to set it up, but it is possible. You will probably need to use the Conditional Fields for Contact Form 7 plugin and set up your field mappings in such a way that, depending on what option visitor selects, the appropriate PDF file is left completely unfilled and, therefore, not present for download.
Another way to do it is to create separate CF7 forms. I’m not sure if it is possible in your situation. If the visitor selects “A”, show them the “A” form and if the visitor selects “B”, show them the “B” form.
Here is one possible solution:
We will write a tiny plugin that will create a CF7 special mail-tag and a WP shortcode. Both will output a “user session id” that will be stored in user’s cookies. The filled PDF will be saved on the web server at a path that contains the session id and the redirect page will link to that same location (via the shortcode).
<?php /* Plugin Name: CF7 special session id mail-tag and WP shortcode Version: 0.1 */ add_filter('wpcf7_special_mail_tags', 'wpcf7_session_id', 10, 3); function wpcf7_session_id($output, $name, $html) { if($name == '_session_id') { if(!isset($_COOKIE['wpcf7_session_id'])) { $id = uniqid(); setcookie('wpcf7_session_id', $id, time() + 24*60*60, "/"); $_COOKIE['wpcf7_session_id'] = $id; } $output = $_COOKIE['wpcf7_session_id']; } return $output; } add_shortcode('wpcf7_session_id', 'wpcf7_session_id_get'); function wpcf7_session_id_get() { return isset($_COOKIE['wpcf7_session_id'])?$_COOKIE['wpcf7_session_id']:""; }To configure the CF7 form PDF attachment options, we will use the following:
Filename: document
Save PDF file on server: pdfs/[_session_id]/To configure the redirect page, we will link our download button to the following URL:
/wp-content/uploads/pdfs/[wpcf7_session_id]/document.pdfSo the HTML might be as follows:
<a href="/wp-content/uploads/pdfs/[wpcf7_session_id]/document.pdf" target="_blank" rel="noreferrer noopener">download</a>The session id will be created and stored in user’s cookies. Only that user will know the session id, so, they are the only ones who will have access to the filled PDF (assuming that you don’t have directory indexing enabled).
Let me know if that helps or if you run into any issues.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Multi Select CheckboxesHi,
Multi-select support on both sides (CF7 and PDF) has been added in v2.0.0. You can even map a single multi-select CF7 field to multiple non-multi-select PDF checkboxes (by using the new value mapping feature).
Let me know if you run into any issues with the new features.
Thank you.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Change save folder location & send detailsHi,
Please see the PDF option “Save PDF file on the server at the given path relative to wp-content/uploads”. If you set the path to “my-files” then your PDF files will be saved in “wp-content/uploads/my-files”. You should also set the “Filename” option to a tag that identifies the user submission, such as “[_serial_number]”.
I am not sure exactly what your second question is. I assume you would like to provide a link to the generated PDF to the user. A solution might be to save the generated PDF in “wp-content/uploads/my-files” with filename “[_serial_number]” (as described above) and creating a link to “your-website.tld/wp-content/uploads/my-files/[_serial_number].pdf”. You can add this link in the email message CF7 sends to the user or you can provide it to the user in some other way. If you would like the link to be accessible only to the user which made the form submission then you can set it up such that only that user can guess the link. Make sure the save directory has indexing disabled and set the filename option to something that is hard to guess. You can either use mail-tags in the filename that contain some user-supplied private information or you can possibly use Contact Form 7 Dynamic Text Extension plugin to create a mail-tag with a random number.
Let me know if that helps or not.
Thanks.
- This reply was modified 4 years, 1 month ago by maximum.software.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Where do I get PDF to attach?The PDF Forms Filler plugin is only useful in situations where you already have a PDF file with a form that you need to fill with user data. Such situations exist when your project requires you to use a preexisting PDF. If you have a situation where you need your website to generate a PDF from scratch every time then PDF Forms Filler is not for you. There exist many other plugins that generate PDFs which you can use. However, these plugins may not generate the PDF in a way that you want. They have their own formatting limitations. So, what you can do is create your PDF in a PDF editor with the exact formatting that you want, add form fields and use PDF Forms Filler to set up an automatic PDF form filling on your website.
By the way, I’ve had a couple of users recently that had issues like this due to bad modifications of TGMA files in their themes.
Check your email for the message that would contain information about the error.
Please see the FAQ troubleshooting article.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Critical Error when installing pluginThe problem is with your theme. I would suggest either switching to a different theme or contacting the developers of the ‘Everse’ theme and asking them to fix this issue.