maximum.software
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Map Conditional Result to PDF fieldHi,
I think I understand what you need. You need the mail-tags feature.
The current version of the plugin does not have the mail-tags feature. You will have to use the unreleased work-in-progress version of the plugin that has the mail-tags feature. You can download it at the following URL:
https://github.com/maximum-software/pdf-forms-for-contact-form-7/archive/master.zipWhat you have to do is add a mail-tags mapping (by either mapping one of the special mail-tags to a PDF field or editing an existing regular CF7 field mapping) and change it to say the following:
[menu-dredge-personnel][menu-operators][menu-tugs][menu-yard][menu-admin]At least one of those fields will be filled in, the other ones would normally be empty, unless the user selects each group and fills something in for each field. Then, you will just get a mess. Unfortunately, the Contact Form 7 – Conditional Fields plugin does not make CF7 discard values filled into groups that are then hidden after being filled. I’ve asked the plugin developer to fix this issue in that post you linked (https://wordpress.org/support/topic/how-to-transfer-conditional-fields-into-pdf-2/).
I would appreciate any feedback you can give me on the new mail-tags feature.
Thanks.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] How to transfer conditional fields into PDFI’ve just tested conditional fields in conjunction with mapped CF7 fields. I have the reverse problem. All field values in my conditional group do make it into my PDF, even if the condition doesn’t hold true.
@jules-colle, to solve my problem what you should do is probably clear values (internal to CF7) of fields that are in a group which is not shown. I tried both ways and both ways have the same effect for me:
$data[$field] = $processed_data[$mapping["cf7_field"]];
$data[$field] = wpcf7_mail_replace_tags( "[".$mapping["cf7_field"]."]" );@lra115, can you share your CF7 form and the conditions that you have?
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] How to transfer conditional fields into PDFHi @jules-colle,
I’ll be honest, I’ve never used your plugin. I haven’t had time to look at why users have this issue. I would appreciate it if you can help me understand how to make a fix.
My plugin takes the field value from
$submission->get_posted_data();at the following line: https://github.com/maximum-software/pdf-forms-for-contact-form-7/blob/caea22eedad6c62760288b1b07df3227d536039b/pdf-forms-for-contact-form-7.php#L749The function get_posted_data() must not be returning values for the conditional fields. Is there another CF7 function I should be using to pull the values out?
I am assuming the new method with mail-tags would work (
wpcf7_mail_replace_tags($mapping["mail_tags"])). I will test it later. If this method will work, one solution might be to just switch to using it for CF7 mappings.Let me know your thoughts. Thanks.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Insert Embedded Image to PDF Displays URLThis sounds like a problem someone else had reported. Please see https://wordpress.org/support/topic/signature-wont-embed-just-get-a-url/.
If you are embedding a signature image, make sure you don’t also map the CF7 signature field to the PDF signature field.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] How to transfer conditional fields into PDFHi,
You are talking about the following plugin, correct?
https://wordpress.org/plugins/cf7-conditional-fields/A number of users reported this issue.
I think I finally have a solution for you. I have not tested it with conditional fields, however, the solution I have is to use the new mail-tags mapping feature. I have not released it yet because I am still testing it, however, you can try installing the work-in-progress plugin version at the following URL:
https://github.com/maximum-software/pdf-forms-for-contact-form-7/archive/master.zipYou will need to manually download and install the plugin and use the edit icon next to the field name to convert the field into a textarea in which you can use mail-tags.
Please let me know if it works for you (or not).
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Not filing out field at allYou need to edit your PDF file and add form fields.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Not filing out field at allYour PDF needs to contain a form before it can be filled. Once you edit your PDF and add a form to it, attach it to the CF7 form and map your CF7 fields to the PDF fields.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Not filing out field at all@copcake91, would you mind sending me the non-working PDF file to admin at maximum dot software?
Can you try a different PDF file? Sometimes PDF files are just corrupted.
Do you have field mappings set up correctly in the field mapper tool?
Is there a TXT file attached to your email message that has an error message in it? If yes, what does the error say?
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] ErrorIt is possible your hosting provider has an issue with their DNS servers.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Adding date into pdfHi,
The old way of doing this was a bit clunky. You would use a plugin like Contact Form 7 Dynamic Text Extension in combination with a shortcode that generates the current date string. You would create a dynamic shortcode field and map it to your PDF field.
There is a new feature that will soon be released that allows you to map mail-tags to PDF fields. You can then use the ‘[_date]’ mail-tag. See more information at https://contactform7.com/special-mail-tags/. If you want to try out the new unreleased feature, download and install the work in progress code at https://github.com/maximum-software/pdf-forms-for-contact-form-7/archive/master.zip.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Not filing out field at allWould you mind sending me the non-working PDF file to admin at maximum dot software? I will see if I can debug the issue.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Date field mappingI am working to release the feature that would allow you to map mail-tags to PDF fields. This would allow you to do what you need with the [_format_date] mail-tag. Please check it out at GitHub: https://github.com/maximum-software/pdf-forms-for-contact-form-7.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] How to change date format?I am working to release the feature that would allow you to map mail-tags to PDF fields. This would allow you to do what you need with the [_format_date] mail-tag. Please check it out at GitHub: https://github.com/maximum-software/pdf-forms-for-contact-form-7.
I am working to release the feature that would allow you to map multiple CF7 fields (and other mail-tags) to a single PDF field. Please check it out at GitHub: https://github.com/maximum-software/pdf-forms-for-contact-form-7
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Combine multiple PDFs into one?Hi,
There is no ‘merge PDF attachments’ feature. If there was a feature like that, you could potentially make this work in conjunction with the ‘Skip when empty’ option. I will add this feature request to my TODO list.
I can’t think of any other way to make this work without a lot of custom coding. Let me know if you come up with a better idea.
Thanks.