Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @stepkicks

    I hope you’re fine today and thank you for sharing the form.

    I’ve imported it to one of my tests sites and then tested it first on desktop (using Firefox) and then on my Android mobile, using default browser.

    In both cases the form got submitted fine, with no issues. I’m not saying it’s all fine yet but we may need to do some more testing so let me know please:

    – did you noticed if this is happening with “any” mobile devices or some specific ones – if specific, what would they be (specifically, I’m asking mostly about browser and Os name and version)
    – did you notice if there’s any relation to which of optional field on the form are being submitted? Like, for example, it only fails if optional upload field is used to submit some file but without file upload it goes fine?
    – did you try with default Twenty Twenty-One theme and/or all other plugins on site disabled temporarily? This is how I’ve tested it so it would be good to confirm if it makes any difference on your site as well.

    Let us know, please.

    Best regards,
    Adam

    Thread Starter stepkicks

    (@stepkicks)

    Hey Adam,

    Thanks so much for the quick response. I noticed it on IOS Safari, as well as when clicking the link within the IG app (not sure what browser that uses, maybe Safari too?). I also tried on the Google browser app.

    I forgot to mention that each time the error says “An error occurred while processing the form. Please try again. (Invalid nonce. Please refresh your browser.)

    I didn’t try editing or omitting every field, but I did try on some with no luck. I’ll do some more testing with the optional fields.

    I did not try with the default theme or with other plugin disables. If we can’t narrow it down, I will try that.

    Let me know if you have any ideas as to what it might be, thanks!

    Thread Starter stepkicks

    (@stepkicks)

    Update: I read some other threads and installed a cache-clearing app, which seemed to do the trick. Still curious if you think that this is the best fix or if there’s a better solution out there, so please let me know. Thanks

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @stepkicks

    I hope you are doing well.

    The invalid nonce is usually related to caching, Depending on the caching plugin that you are using you can exclude the Form page from caching, but if the form is for example in a Front end page I wouldn’t suggest it.

    We are already working to improve the Forminator related to nonce, I am sending this case to our developers as a new report.

    Since it is working now I am marking the ticket as resolved, feel free to ping us any time you need.

    Best Regards
    Patrick Freitas

    Thread Starter stepkicks

    (@stepkicks)

    Ok got it, thank you. What do you mean by a Front end page? Is this page Front end? https://stepkicks.com/orders

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @stepkicks,

    What do you mean by a Front end page? Is this page Front end? https://stepkicks.com/orders

    Yes, any page which you have published which can be viewed by the users would be the frontend. The /orders page is also frontend.

    Regards,
    Nithin

    Thread Starter stepkicks

    (@stepkicks)

    Oh ok, got it. And why is it not advisable to disable caching on a front end page? Unfortunately it’s the only fix I’ve found to the nonce issue, but I don’t want to use it if it’s going to have major disadvantages. Thanks

    Hello @stepkicks !

    In general all pages visible to visitors should be cached so they load as fast as possible.

    In this case the Ajax loading method is the preferred solution as it will allow you to still cache the page. This works thanks to the fact that the page is still cached, but the form itself is loaded dynamically, ie. the page shows up and then a script loads the form’s HTML into it.

    There are however some setups where excluding the form page from caching completely is the best solution. It’s not unusual as well, on some sites (especially stores) there are a few pages that are always excluded from caching. Generally if there’s anything dynamic on the page that should update with each page view, it’s likely to not have caching.

    Warm regards,
    Pawel

    Thread Starter stepkicks

    (@stepkicks)

    Ok got it, thank you! I actually just found the setting to load with Ajax, so I’ll give that a try and let you know if it doesn’t work.

    I have been getting some spam emails lately and just enabled Honeypot. Do you think this will be enough, or should I also enable Captcha? I’d prefer to avoid it if possible. Thanks and happy new year!

    Hello @stepkicks !

    Honeypot will catch some of the less advanced bots, but in some cases Captcha is needed as well – best to see what level of spam you’re getting and react accordingly.

    Happy New Year to you as well!

    Warm regards,
    Pawel

    Thread Starter stepkicks

    (@stepkicks)

    Got it, thank you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Form submission error’ is closed to new replies.