• Resolved rpalex

    (@rpalex)


    I have an online Forminator form. But it seems that it is giving an error if the User enters an email address with an underscore in it. E.g. firstname_lastname @yahoo.ca. Is there anyway to allow underscore in the email field?

    Here’s the error that we get:

    An error occurred while processing the form. Please try again
    (Invalid nonce. Please refresh your browser.)

    2. Also, is there any code that allows for inline email validation while the User enters the information?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @rpalex,

    Are you using a default contact form or a user registration form? I gave a quick test with the default settings but I’m not able to replicate such behaviour when tested.

    The form does get submitted with an underscore in the email. The error shared seems to occur if the nonce gets expired, which isn’t related to the email field.

    Are you able to replicate the issue if the cache is cleared? Could you also check how the form behaves if you enable “Prevent page caching on form pages” under the “Behaviour” tab when you edit the form?

    2. Also, is there any code that allows for inline email validation while the User enters the information?

    If you are looking to resolve the invalid nonce error then adding inline email validation won’t bring any difference.

    Possible to share the form export so that we could check if it’s something that could be replicated on our side too?

    Please check the following doc on how to export a form:
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    If you are concerned about any sensitive information in the form, then you can duplicate your form, remove any sensitive information, and then export it.

    You can share the export file via Google Drive, Dropbox or any cloud services in the next reply.

    Looking forward to your response.

    Kind Regards,
    Nithin

    Thread Starter rpalex

    (@rpalex)

    Thanks for the response Nithin.

    I was actually able to complete the submission by clearing the Cache and turning on “Prevent page caching on form pages”. I am not sure what fixed it, but the submission went through.

    But apart from that if there is any inline email validation that I can use for general usability, I am interested in incorporating that. However, not urgently required.

    I have submitted another Topic related to Exporting CSV data and how the empty columns gets collapsed to the left. That is a bigger issue. If you can provide a solution for that urgently, that would be greatly appreciated.

    Thank you.

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @rpalex

    Please take a look at this solution:
    https://gist.github.com/wpmudev-sls/0787f42205c169a077f1f43cd7156704

    You can add that code as a must-use plugin to your site’s wp-content/mu-plugins folder like this https://www.ads-software.com/support/article/must-use-plugins/

    We recommend testing this on the dev/staging version first before putting it on the live?site.

    Kind Regards,
    Kris

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @rpalex ,

    We haven’t heard from you for over a week now, so it looks like the workaround worked for you.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Underscore in Email not working’ is closed to new replies.