jayunger
Forum Replies Created
-
Has this bug been fixed in a recent update…. can I eliminate the MU Add-in patch yet???
Hey Adam,
You guys had a syntax error in this update. Unbalanced paren in the if statement:
was:
if ( !in_array( $prepared_data[‘form_id’], $myforms ) {
return $prepared_data;
}Should be:
if ( !in_array( $prepared_data[‘form_id’], $myforms ) ) {
return $prepared_data;
}You may want to update the post in case anyone else is using this workaround.
Please be more careful.When will this problem actually be fixed without a workaround????
Jay Unger
I have created another form that requires the same fix…. I have seen an update to the Forminator main plugin recently (Version 1.20.1) but it appears that the problem persists. Do I need to modify the workaround (MU Plugin) to handle that form as well. When will the problem actually be fixed in a real update?
Unfortunately, I do not have a separate development platform for this website so I am unprepared to test your workaround…. however if this is a known problem can you give me any time frame when it might be fixed in an updated to the base plugin.
Requested information has been sent via your link: https://wpmudev.com/contact/#i-have-a-different-question
As you can see from the below I have been responding to your e-mails but alas (and for no apparent good sense reasons) these responses go nowhere.
As stated below as of the latest update to Forminator 1.18.2 the problem still exists. I am not comfortable sharing a copy of my form via a link in an open forum since it is a payment form. Please provide a direct contact via e-mail that will be received and I will provide a link that way.
Forminator was updated today to Version 1.18.2…. problem still persists
—–Original Message—–
From: Jay Unger
Sent: Thursday, September 29, 2022 11:00 AM
To: WordPress.org Forums <noreply@wordpress.org>
Subject: RE: [Forminator – Contact Form, Payment Form & Custom Form Builder] Calculation Field Not Formating Correctly in eMailsHELLO? Any more information about this issue….
This bug is only partially fixed. The correct values are now posted in the submission database and conditional display logic in the form based on these values works properly However conditional logic in e-mail submssion (see original post) is still not working correctly. (An e-mail that is supposed to be conditionally sent based on the “FamilyMembership” field equal to 0) is sent regardless and the “FamilyMembership” field shown in the database and in a separate test e-Mail correctly shows a value greater than zero.
Thank you for your response… I was wondering what delayed it so long. I would really like to know approximately when we might see a fix to this bug as it is preventing me from using these forms on my website.
Also in my first post I asked if there was anyway for me to communicate with development team regarding the limitation in submission notification emails that caused me to created such a clumsy means for tailoring emails. Since I have not received any response in that regard I have created another post in this support forum https://wordpress.org/support/topic/suggestion-for-improvement-for-form-submission-email-responses/ detailing my suggestion for an extension to form submission emails responses that would help.
I have determined that the cause of this problem is almost certainly a failure in the code to correctly escape some character sequences in the HTML entered in content of submission eMails. Specifically if a substitution of a field surrounded by curly braces ( e.g. {fieldname} ) in HTML is adjacent to an HTML tag enclosed in angle brackets ( < > ) then the save fails…. If however a meaningless space is inserted between the HTML tag and the field substitution the save is successful.
The link below is to a Pastebin instance hosted on my web site that has the exported form in it. I cannot share screen caps this way and do not have shared drive capabilities but I can send you these images as attachments to an e-mail if needed or possibly share then via my website.
Upon further experimentation this has something to do with HTML content in the submission eMails. If I edit the submission eMail in an external editor and paste it into the forminator edit form page… then I can’t save the form. However, if I type the very same HTML into the forminator edit form page … then save works just fine. I can’t figure out why this difference should generate the error noted in my previous post…
As requested I did an update of a form that fails to save and found JavaScript errors in the web console copied below. Running a form that does not fails to update does not generate any JavaScript errors.
————————————-
`Error: Request failed with status code 403
exports https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:1
exports https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:25
m https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:1
exports https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:1
exports https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:1
exports https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:25
promise callback*r.prototype.request https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:25
e https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:25
exports https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:1
value https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:25
value https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:25
setTimeout handler*value https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:25
value https://ranachquafoundation.org/wp-content/plugins/forminator/assets/js/form-scripts.js?ver=1.14.0:25
Vh https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:163
Uh https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:14
Xh https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:14
af https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:14
Yh https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:164
nd https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:15
nc https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:15
Of https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:38
Ac https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:39
unstable_runWithPriority https://ranachquafoundation.org/wp-includes/js/dist/vendor/react.min.js?ver=16.9.0:26
Ma https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:52
Be https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:119
xi https://ranachquafoundation.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:39I just retried Import / Export and I confirmed that on the forms that I cannot successfully save I can also not import … while forms that I can save I can import.
Please note I can update and save some forms…. but others (seemingly randomly) are having this problem.
Three quick questions:
(1) Will reinstalling the plugin have any effect on existing forms. I can’t afford to lose all my forms and submission information.
(2) What might cause such an error message as described above…. is it possible that my database is somehow corrupted. What can I do to correct this.
(3) I tried exporting and then importing some of the forms that don’t save properly. I can’t seem to make this work… when I try to import and exported form and past the export data into the text box… nothing seems to happen.
I ave responded to this message and I am still awaiting a reply from Dimitris