• Resolved emanuelenegro

    (@emanuelenegro)


    A few days ago, I created this form as a payment form with, a request form, billing and payment address, in which I had set some visibility rules. To give an example where it says “Seleziona il tipo di visura”, if we go to choose “Persona Fisica” or “Persona Giuridica” the choice “Seleziona il tipo di immobile” should not appear because I had set visibility rules, the same also applies to the rest of the form with other rules. A few days ago it worked, now that I have also implemented through the page break “Dati di Fatturazione” and “Modalità di pagamento” it seems that it has stopped working. Can you help me understand where I’m wrong?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • 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

    Thread Starter emanuelenegro

    (@emanuelenegro)

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    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

    Thread Starter emanuelenegro

    (@emanuelenegro)

    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

    Thread Starter emanuelenegro

    (@emanuelenegro)

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    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

    Thread Starter emanuelenegro

    (@emanuelenegro)

    Thread Starter emanuelenegro

    (@emanuelenegro)

    All the Stripe Key are correctly

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    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

    Thread Starter emanuelenegro

    (@emanuelenegro)

    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

    Thread Starter emanuelenegro

    (@emanuelenegro)

    I need an answer in a short time, I had to make the incomplete site public to allow you to understand the error

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    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

    Thread Starter emanuelenegro

    (@emanuelenegro)

    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

    Thread Starter emanuelenegro

    (@emanuelenegro)

    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

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    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

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘Forminator visibility rules don’t work’ is closed to new replies.