• Resolved rmcgn3

    (@rmcgn3)


    Hi,
    I have a simple form on this page that sends an email on submission.

    This only seems to work when I’m within my company’s network. Any submissions coming from external users has one of the following outcomes:

    1. The form submits with a red error message that reads: An error occurred while processing the form. Please try again (undefined)
    2. Clicking submit brings you back to the top of the page and nothing happens
    3. The form shows the success message but no form submission shows and no email is sent

    I have tried configuring all the Submission Behavior and Rending settings but nothing seems to work. Either I get the same errors as above or some of those settings make the form not visible on a mobile device.

    I also have proper logging set up on WordPress but do not see any logs regarding this issue in the /wp-content/debug.log file.

    Thanks,

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @rmcgn3,

    I hope you are doing well today!

    Did you also try enabling “Load form using AJAX” and “Prevent page caching on form pages” options under Edit Form->Behavior->Rendering?
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#rendering

    Please also try with default WordPress theme after taking your backup.

    If those did not help, please share an export of the form with us, so that we can check further.

    You can find more info on how to export the form here : https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    After exporting, please share the code using a service such as https://pastebin.com which is free to use.

    Please always make sure to use such service to share the code and don’t post the code here directly as it will most likely be unusable.

    Kind regards,
    Zafer

    Thread Starter rmcgn3

    (@rmcgn3)

    Hi,
    Having both settings you recommended prevented the form from showing up on the page entirely. Disabling Load form using AJAX made it visible again.

    Here is the exported form via pastebin: https://pastebin.com/da1NMLq8

    Thanks,

    Thread Starter rmcgn3

    (@rmcgn3)

    Hi,
    What I just determined is:

    1. No matter what, if I have the Submission Behavoir -> Method set to Ajax, I will always get the red error message (An error occurred while processing the form. Please try again (undefined)) when I submit the form.

    2. No matter what other settings I have enabled/disabled, Behavior -> Rendering: Load form using AJAX = enabled; always causes the form to disappear from the page.

    With those settings turned off, if you’re an external user, hitting submit on the form with the required fields filled out correctly does nothing but bring you to the top of the page and refreshes(?).

    Thanks,

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @rmcgn3,

    To take a closer look at the issue, I imported the form to a test website but could not notice the error message you mentioned. And the form was loading fine with any changes I made in the Behaviour configuration.

    Further checking, I noticed the “Store Submissions in Database” option was disabled under the Settings tab of the form. Disabling this feature will prevent submissions from being stored in your database.

    Can you please enable the option mentioned above and re-check if the issue persists? Please also make sure you clear all the cache before testing the form again.

    Let us know how that goes so we can help you further.

    Kind Regards,
    Nebu John

    Thread Starter rmcgn3

    (@rmcgn3)

    Hi @wpmudevsupport14,
    I cleared my cache etc.. before doing both these tests:

    1. Enabling “Store Submissions in Database” option made everything work great internally.
    2. Externally, on submission, I get no errors on the page or in the console and it refreshes and goes to the top of the screen. No email or submission goes through.

    Thanks,

    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi again @rmcgn3,

    This seems to be related with some plugin or theme conflicting on your site. I suggest to perform the following tests in order to find the possible culprit.

    Please make sure you have recent backups and perform this operation on your dev/staging site if possible. It is better to start with theme conflict test by switching to one of the WordPress default themes such as twentytwenty or twentytwentyone etc.

    To learn more about a plugin conflict test, please see this guide below:
    https://wpmudev.com/docs/getting-started/getting-support/#conflict-test

    Check out this handy flowchart of the troubleshooting process detailed above.
    https://wpmudev.com/wp-content/uploads/2015/09/Support-Process-Support-Process.gif

    Please let us know the results.

    Kind regards,
    Zafer

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @rmcgn3 ,

    We haven’t heard from you for over a week now, so it looks like you don’t have any more questions for us.
    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Form Does Not Submit for External Users’ is closed to new replies.