• Resolved alycarter

    (@alycarter)


    Most people are receiving an error the first time they try to submit a form request, but then its going through the 2nd or 3rd time resulting in frustrated leads and multiple entries.

    Any suggestions?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @alycarter

    I hope you’re well today!

    I looked at the “get a quote” form on your site and I noticed two important things:

    1. there’s a CORS error happening (reported by browser) on some AJAX calls

    2. and the address/linking on the page looks a bit strange.

    The 1st thing is very likely directly caused by the second one. The site appears to be at the address that you shared with us but then

    – going to “Get a quote” (and few other links) points to a different domain (where your site’s domain name is only used as a subdomain)
    – site itself is loaded from there
    – but it appears to be configured for your domain so it makes AJAX requests to your domain and that causes CORS issues (which means browser is blocking such requests).

    I’m not entirely sure why this is causes but I’m assuming that on the “Settings -> General” page in site’s back-end, there is correct address configured.

    But then:

    – the links in menu have different address set (so you may need to check this)
    – and when the site loads from that different address it’s either loading a different instance (e.g. dev/staging copy) of the site or it’s exactly the same instance but there is no proper server-level redirect to the real domain.

    As a result, those ajax requests are blocked by browser due to CORS and that may be resulting in submission issues.

    Please take a look into that aspect. You may need to make sure that

    a) links in menu are all correctly set to point to proper URL
    b) make sure with your host that there’s correct and valid server-level redirect done to the main domain
    c) and fully purge all caches on site/server once that’s all set.

    Kind regards,
    Adam

    Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @alycarter,

    I hope you’re doing good today!

    We’ll be marking this thread as resolved, as we haven’t heard from you for some time now. Please feel free to reply if you still have any questions.

    Best Regards,
    Dmytro

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error in Submission’ is closed to new replies.