Forminator Calculation Fields Cause Fatal Error / PDF Generation Failure
-
Hello,
I am using PDF for Forminator Forms + Drag and Drop Template Builder version 7.2.1 with Forminator.
The PDF integration works correctly with normal Forminator fields such as radio buttons, checkboxes, names, addresses, and text fields.
However, when I add a Forminator Calculation field merge tag such as{calculation-1}to the PDF template, the form submission/PDF generation fails.
The Calculation field itself works correctly in Forminator. The calculated amount displays correctly on the form and also appears correctly in Forminator email notifications.
The problem occurs specifically when the Calculation field merge tag is used in the PDF template.
I tested multiple Calculation fields. When a Calculation merge tag is present in the PDF template, processing fails. When I remove the Calculation merge tag, the form submits successfully, both email notifications are sent, and the PDF is generated successfully.
The PHP error trace showed YeePDF callingforminator_replace_form_data, followed by Forminatorforminator_get_value_from_form_entry(...), with the fatal occurring through:wp-content/plugins/forminator/library/helpers/helper-fields.phparound line 915
and YeePDF's Forminator integration:forminator/index.php
Is there a supported method for inserting the result of a Forminator Calculation field into a YeePDF template? If so, could you please provide the correct method or merge-tag syntax?
If Calculation fields should work using the standard{calculation-x}merge tags, this appears to be a compatibility issue. I can provide additional error-log information and reproduction steps if needed.
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.