A bug in Forminator version 1.52.2
-
Hi,
I’d like to report a bug in Forminator version 1.52.2 where forms fail to submit with the error: “Your form is not valid, please fix the errors!”
Steps to reproduce:
- Install/update to Forminator 1.52.2
- Create or use an existing form
- Fill in all required fields correctly
- Click Submit
Expected result: Form submits successfully.
Actual result: Validation error is shown even though all fields are correctly filled.Additional details:
- The browser console shows a GET 404 error for: /wp-content/plugins/forminator/assets/jquery-ui/css/images/ui-icons_444444_256x240.png
- Rolling back to version 1.51.1 resolves the issue immediately
Please could you investigate this regression in 1.52.2? Happy to provide further details if needed.
Thanks
-
Update: I have now confirmed this issue on a second website also running version 1.52.2, which shows the same error. Rolling back to 1.51.1 on both sites resolved the problem, confirming this is a regression introduced in 1.52.2.
Hello @alanintertec ,
Thank you very much for the detailed report — we really appreciate the effort you’ve put into testing and confirming this on multiple sites.
We’ve tested Forminator v1.52.2 on our end and were not able to reproduce the issue. Forms are submitting normally, so this appears to be related to a site-specific setup rather than a general regression.
The 404 error for the jQuery UI image file in your console is worth noting, but it’s unlikely to be the direct cause of form submission failure on its own — that’s a missing asset, not a script error. The actual validation error is likely coming from somewhere else.
That said, your findings are consistent and worth investigating properly.
Let’s go through a few quick checks to narrow this down. To help isolate the cause, could you work through the following on a staging/test environment:
- Reinstall Forminator
Delete and reinstall version 1.52.2 to ensure all plugin files are complete and not corrupted. - Clear cache
Clear your browser cache and any caching plugin or server/CDN cache, then test again. - Check for conflicts
Temporarily:- Disable all other plugins
- Switch to a default WordPress theme (like Twenty Twenty-Four)
Then test the form. If it works, reactivate things one by one to find the cause.
- Try another browser/device
This helps rule out any browser-related issues. - Check your browser console more carefully
Beyond the 404, are there any JavaScript errors in red? If so, please paste them here.
If the problem persists, we’d like to take a closer look at your form setup. Please share an export of the form with us:
To export your form:
- Go to Forminator → Forms in your dashboard
- Click the gear icon next to the form
- Select Export
- Copy the export code
- Paste it at https://pastebin.com
- Share the link with us here
Note: This export does not include any submitted data — your entries remain safe on your site.
Once we have that, we’ll investigate further and help you get this resolved.
Best regards,
Mina EmadHi Mina,
I’ve exported the form to a staging site for testing, and the issue persists there as well.
Could you please let me know how I can share the staging site link and the export code with you privately?
Thanks.
Hello @alanintertec ,
Thank you for the update on your issue.
Please note that we’re not allowed to have the login credentials shared here or log in to the website.
You can simply commence by sharing a link to your test form page and the export of the form with us here, and we will help debug the issue.
To export your form:
- Go to Forminator → Forms in your dashboard
- Click the gear icon next to the form
- Select Export
- Copy the export code
- Paste it at https://pastebin.com
- Share the link with us here
Note: This export does not include any submitted data — your entries remain safe on your site.
Once we have that, we’ll investigate further and help you get this resolved.
Best regards,
Mina EmadHi, please review the export code here:
I’m unable to share the staging site link, as it’s a development site for another client. However, it’s a different website from the one experiencing the issue, the only common factor is that both are using version 1.52.2 and the same form.
Thanks.
Hello again @alanintertec ,
Thank you for sharing the form export — that was very helpful.
I’ve been able to reproduce the issue on my end, and it appears to be related specifically to visibility conditions involving file upload fields.
What’s happening
When a required field of any type (e.g., the “Date images where taken” fields) has a visibility condition based on a file upload field (e.g., the “Upload Images” fields) being empty (null) or not empty (i.e., Show/Hide the “Datepicker field” When the “file upload field” Is/Is not empty [null]), the following occurs:
- On the front end, the visibility logic works as expected
- However, on submission, the server-side validation fails, resulting in the error:
“Your form is not valid, please fix the errors!”
How to solve
While rolling back to v1.52.1 (or older versions) appears to resolve the issue, please note that older versions may lack important security updates and improvements included in the latest release.
As a temporary workaround, we recommend:
- Avoid using file upload fields (“Upload Images”) in visibility conditions, especially when:
- The condition checks for empty/null values
- The affected fields (“Date images where taken”) are marked as required
If possible, you can:
- Replace the condition with another field type (e.g., checkbox, select, etc.), or
- Remove the required constraint from fields controlled by such conditions
Next Steps
We will escalate this to the development team for further investigation, as this behavior is not expected and should be addressed in a future update.
If you have any additional examples or edge cases, feel free to share them — they can help speed up the fix.
We really appreciate your thorough testing and patience while we look into this. Please don’t hesitate to reach out if you need help adjusting the form in the meantime.
Best regards,
Mina EmadHi Mina,
I’ve added a checkbox for each image slot. When checked, it reveals the corresponding image upload field and date field.
Thank you for your help and the suggestion.
Hello @alanintertec,
Thank you for the update; it’s great to hear that the checkbox approach is working well for you!
I’m glad we were able to help you move forward with this. If you need any further assistance or run into anything else, please don’t hesitate to reach out — we’re always happy to help.
Since everything is now working as expected and the topic is resolved, we’d truly appreciate it if you could take a moment to share your experience with Forminator and the support you received by leaving a quick review here: https://wordpress.org/support/plugin/forminator/reviews/#new-post
Your feedback means a lot to us and helps others as well.Thanks again, and have a great day!
Best regards,
Mina EmadHello @alanintertec ,
I hope you are doing well, and thank you for bringing this issue to our attention.
I have tested the form in a staging environment and was able to replicate the issue. It appears that the problem is resolved when the Forminator plugin is downgraded to a previous version (e.g., 1.52.1).
Specifically, the conditional required field—configured based on the Upload File field—should be ignored when it is hidden. However, in the latest version (1.52.2) of the plugin, this hidden required field is still being validated, which is causing the issue.
We have reported this behavior as a bug to the Forminator development team. They are expected to address it in an upcoming release, although an estimated timeline for the fix is not currently available.
Please feel free to reach out if you need any further assistance in the meantime.
Kind Regards,
Fida Al Hasan - Reinstall Forminator
You must be logged in to reply to this topic.