Hi @emanuelenegro
I hope you are doing good today.
Could you export your form, upload it to google drive or dropbox, and share a link in your next reply so that we could take a closer look at this?
Kind Regards,
Kris
Hello @emanuelenegro !
Hope you’re doing well today!
Thank you for sharing the export, as this allowed us to test the issue and find a solution.
On my test site it also didn’t work and I’ve noticed a JavaScript error in the console. As the JS code stopped running because of that error, the visibility rules also stopped working. The error was related to Stripe settings so I’ve checked mine and noticed I don’t have Stripe set up. As soon as I provided the Stripe keys in Forminator >> Settings >> Payments, the issue disappeared and the visibility rules were applied correctly.
I’ll also report the error to our Forminator team so they can ensure this doesn’t happen in such cases.
Best regards,
Pawel
I’m getting the same error again when I go to set up the live mode of striped payments, the visibility rules don’t work
Hello @emanuelenegro !
The link you’ve shared is not publicly accessible so I can’t check the form unfortunately. Can you change the status for it and let us know?
Please also make sure you have the Stripe keys set up correctly in Forminator >> Settings >> Payments.
Warm regards,
Pawel
All the Stripe Key are correctly
Hi @emanuelenegro,
The form you have shared works on my test website without any issue and the visibility condition works fine too.
I’m afraid, it seems more like the Stripe isn’t configured correctly. Could you please check whether the visibility works fine if the Stripe field is temporarily removed?
It seems like the page where you had the form is no longer public and is in maintenance mode. Could you please make the page public temporarily or share a URL where you could still replicate the issue so that we could check further on what exact error shows up on the console side?
Looking forward to your response.
Kind Regards,
Nithin
The module works when Stripe is set to “Test mode” but the visibility rules of the form don’t work when Stripe is set to “Live”.
Below you can find the page where the form is located, and the form exported to drive.
Form Page: https://www.indaghiamo.it/visura-catastale
Form exported: https://drive.google.com/file/d/1mWGu7wELO7q6h-YagGjHgpCUQRddL2Bt/view?usp=sharing
I need an answer in a short time, I had to make the incomplete site public to allow you to understand the error
Hello @emanuelenegro !
I’ve checked the form both on your site (not sure if Stripe is in live mode there), and it’s working correctly. I’ve also tested the form on my test site using the export you’ve provided. The visibility rules work fine on my end when in test and live modes, no issue at all there.
If the issue is still happening, I’d suggest running some additional tests:
1. Check in incognito or in another browser where you’re not logged in. Alternatively, clear the browser cache and check – some old assets and cached pages may still be there and may be causing the issue.
2. If the above doesn’t help, as it’s working on my test site with just Forminator and default WP theme, please try a plugin conflict test:
– change to a default theme and check if it works well there
– if needed, deactivate all plugins besides Forminator and check if the issue was solved
– if deactivating plugins helped, please try activating them one by one or in groups of 2-3 to find the plugin that’s causing the conflict
Kind regards,
Pawel
I don’t think there are compatibility problems otherwise “Test” mode shouldn’t work either. Inside the page linked in my previous answer there is a javascript error. I leave below the attachment “.log” taken from the page, in order to make you understand what can compromise the visibility rules of the form
https://drive.google.com/file/d/1menmTZlHRn8tHYrO7QHa3t1AmBtNyL2z/view?usp=sharing
I kindly ask you for an answer in a short time the customer would not want the site to be online incomplete and neither do I, try to answer me in a short time please
Hello @emanuelenegro !
From the log you’ve shared it looks like the issue is now only related to the fact that the site isn’t using SSL. So it’s possibly just a temporary thing while the site is being worked on and will have proper SSL included later or a matter of needing to run search-replace to change all occurrences of “http://” to “https://” across the site. Without this Stripe will refuse to work as it will not have all of the communications encrypted.
Here is an article regarding search-replace in case you’d like to use this option: https://www.hostinger.com/tutorials/how-to-perform-search-and-replace-in-wordpress-database/
When replacing, please make sure you’re replacing:
"http://" to "https://"
And not just:
"http" to "https"
Please also make sure you have a backup before you proceed.
Best regards,
Pawel