maximum.software
Forum Replies Created
-
Make sure your hosting environment has CA certificates properly installed and they are up to date.
In the future I will add a checkbox to disable certificate validation for users who don’t have much control over their hosting environments and don’t care too much about data security.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Print Html in the output pdfIf I understand you correctly, you want to dynamically generate a checkbox field within the PDF file from HTML. Let me know if this is not what you asked.
This plugin does not have capabilities to edit the PDF content or add fields. It just takes existing fields in the PDF and fills them with data from the CF7 form. You may want to look at some other plugins that generate PDF files from HTML, etc.
Can you describe your use case in more detail? Why do you need to dynamically generate input fields? How would this work? What CF7 plugin are you using to do this?
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Checkbox doesn’t reflect in the pdfDeployed the fix.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Don’t attach pdf file and get tagsI’ve deployed the new version. It should work for you. Let me know how it goes.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Don’t attach pdf file and get tagsI have found the problem with Safari. I fixed the bug. I will deploy a new version later today that will have this bug fix as well as some other bug fixes.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Don’t attach pdf file and get tagsWhat version of Safari are you using? You can get this info by looking at the ‘about’ dialog box.
You can get phpinfo using this plugin: https://www.ads-software.com/plugins/wordpress-php-info/
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Don’t attach pdf file and get tagsI’m sorry you are having issues. This might be a javascript issue.
What browser and browser version are you using?
Can you send me your phpinfo() data to admin at maximum.software?
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Checkbox doesn’t reflect in the pdfIt looks like the PDF has a few options for those fields. Option “0” is the one that activates the button (rather than the actual text value or the “Yes” value). There is a bug in the plugin, it omits the “0” value. I will deploy a fix with the next version. However, you may still want to fix the PDF. Fields need to be activated by proper text values. Otherwise, your site will have “0” as an option, but you may want to have an actual text instead.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Checkbox doesn’t reflect in the pdfCan you send me the PDF file (to admin at maximum.software)? I can try to reproduce the bug on my end.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Checkbox doesn’t reflect in the pdfMake sure the checkbox and radio box values match those in the PDF file.
Make sure you use the same values in your CF7 field as displayed by the “New Tag:” line in the Input Field Mapper Tool when you select the right PDF field in the dropdown.
What exactly doesn’t work? Is the checkbox in the PDF file not filled? Or something else?
Forum: Reviews
In reply to: [PDF Forms Filler for CF7] Excellent Plugin and SupportThank you for the rave review!
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Multiple PDFs – Don’t Send Any Empty OnesI have deployed a new version which now has the ‘skip when empty’ checkbox.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Error Message in EmailI have found and fixed issues with older versions of PHP. Please update your plugin to version 0.2.3. Please let me know if you still have issues.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Is there a way to post PDF rather than send?I don’t think this would fit with Contact Form 7 integration unless you can find a ‘download attachment on form submission’ type plugin. However, I have plans to write another plugin that would do what you are describing.
For now, what you can do is the following,
1. Create a button that would run a JavaScript function.
2. Create a JavaScript function that would take your form data and submit it to /pdf-fill.php as a POST request with array ‘data’ argument where the keys would match the field names in the PDF form
3. Create php-fill.php in your public_html with the following code,<?php define('WP_USE_THEMES', false); require(dirname(__FILE__).'/wp-load.php'); $data = $_POST['data']; // change this when using a different PDF file $attachment_id = 123; try { if( !class_exists( 'WPCF7_Pdf_Forms' ) ) throw new Exception(__("WPCF7_Pdf_Forms not loaded")); $tempfile = tempnam(get_temp_dir(), "pdf_"); if(!$tempfile) throw new Exception(__("Failed to create a temporary file")); $service = WPCF7_Pdf_Forms::get_instance()->get_service(); if(!$service) throw new Exception(__("Failed to get PDF forms filling service")); $service->api_fill( $tempfile, $attachment_id, $data ); $file = fopen($tempfile,'rb'); if(!$file) throw new Exception(__("Failed to read a temporary file")); header("Content-Type: application/pdf"); header("Content-Length: " . filesize($tempfile)); fpassthru($file); fclose($file); @unlink($tempfile); } catch(Exception $e) { @unlink($tempfile); header($_SERVER['SERVER_PROTOCOL']." 500 Internal Server Error", true, 500); print $e->getMessage(); }
This should do what you are looking for.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] Error Message in EmailHm, very strange. This means that the plugin didn’t submit the data argument. Can you send me the version of the plugin that you are using and the output of phpinfo() function to admin at maximum dot software ? I will see if I can reproduce and fix the issue.