maximum.software
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] WPML ProblemI added this plugin to the incompatible plugins list. I will look at this issue when I get a chance.
How does WPML work? Does it create a separate contact form or is it extending an existing contact form?
If a contact form is getting extended, my guess is that there is another attachments list that isn’t getting the attachment tag appended to it.
If you look at [wpcf7-pdf-forms.php:708](https://github.com/maximum-software/wpcf7-pdf-forms/blob/1.0.2/wpcf7-pdf-forms.php#L708) you will see that an attachment tag gets appended to the attachments list. Maybe there is another attachment list for the English version?
- This reply was modified 7 years, 2 months ago by maximum.software.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] API KEYIt is strange that you have “1” set as the key. I am going to try to figure out what may be causing your problem.
Meanwhile, you can try getting new the key via the CF7 Integrations page or setting it manually by going to https://pdf.ninja/, clicking the “try me” button under the “GET /api/v1/key” endpoint section and copy-pasting the key from the response JSON block. You would then need to contact store support and provide your new key.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Download instead of sending emailHi,
This feature is currently being worked on. I hope to release it within a month.
Thanks.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Preserve font face when filling PDF form?I believe this is an issue with the PDF viewer or the PDF file itself (doesn’t have the font embedded). However, I am planning to do more testing. Can you send me your PDF file to my email (admin at maximum dot software)?
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Compatible “CF7 Smart Grid Design Extension”I’m sorry I just didn’t have time to take a look at this yet.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] CF7 input field not showing upThere seem to be parse errors with double quotes (“) in your tag. Did the plugin generate these options automatically or did you edit them afterwards?
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Tag Generator ToolBy the way, the tag generator tool is deprecated. It is only there for backwards compatibility.
Please use the image embedding tool.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Remove watermarkPlease see https://pdf.ninja/ for questions regarding the API.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Download PDF rather than sendI am planning to implement the download functionality shortly. It should be released within a few months. If you would like to implement it yourself, you can use the information in the above posts to figure out how to do that.
Please see https://pdf.ninja/ for questions regarding the API.
- This reply was modified 7 years, 3 months ago by maximum.software.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] PDF Filler on multi-stepWhich multi-step plugin are you using?
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Workaround for CF7 Multi-Step FormsIt sounds like he pasted that into CF7 form editor. Actually he pasted all of this,
<input type="hidden" name="my-field" value="[multiform 'my-field-previous']" /> <!-- This for the PDF filler [text my-field] -->Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Conditional contentYes. Here is one idea:
1. Attach the same PDF 3 times
2. Select an option to skip/omit the PDF when empty for all 3 PDFs
3. Map pro-1 set to PDF 1 fields only, pro-2 set to PDF 2 fields only and pro-3 set to PDF 3 fields only (notice the PDF ID inside square brackets, such as [123])This will skip sending the PDFs that don’t have any fields set. This will only work if no fields from the other pro sets have values when you submit.
Let me know if that helps or not.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Download PDF rather than sendYou can use jquery and something like this,
<script> $(document).ready(function(){ $("button.download").click(function() { var data = { field1: $("input[name=field1]").val(), field2: $("input[name=field2]").val() }; $.post("pdf-fill.php", {data: data}); }); }); </script> <!-- generated by CF7 --> <input type="text" name="field1"> <!-- generated by CF7 --> <input type="text" name="field2"> <button class="download">submit</button>Assuming the ‘input’ HTML tags would be generated by CF7 with the correct names. You will need to add the button tag. Actually, you may be able to add the click event handler to the CF7 button and have it do both, download PDF and send an email.
Disclaimer: I haven’t tested this code much.
- This reply was modified 7 years, 4 months ago by maximum.software.
- This reply was modified 7 years, 4 months ago by maximum.software.
I believe you can set the PDF field font size to auto to help with that.
You can also use maxlength setting with CF7 fields,
https://contactform7.com/max-min-length-options-and-character-count/Forum: Plugins
In reply to: [PDF Forms Filler for CF7] How format date of birth?I believe the only way to do it is to write a filter for CF7. Something like the following,
https://stackoverflow.com/questions/40000543/modify-contact-form-7-submission-datafunction action_wpcf7_posted_data_fix_dob( $array ) { $value = $array['date-of-birth']; if( !empty( $value ) ){ $parsed_date = // parse $array['date-of-birth'] here $array['date-of-birth'] = // date(".....", $parsed_date) } return $array; }; add_filter( 'wpcf7_posted_data', 'action_wpcf7_posted_data_fix_dob', 10, 1 );However, this would change the value in your email message as well. Maybe this is not something you want.
I can’t think of any good solution.
- This reply was modified 7 years, 7 months ago by maximum.software.