• Hi.

    In testing the form block I’ve just realised that if I receive validation errors, then resolve those validation errors, the form will not submit.

    The fields I am using in the form I am testing are text, dropdown, checkbox and textarea.

    I’ve tested this with validation errors on all these field types.

    If I perform a hard refresh after the display of the validation errors, the form will submit properly. Obviously our users are not going to do that though.

    I am using the latest version of the plugin/wordpress.

    Many thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey,
    Sorry, I’m not following. can you explain how to recreate your issue?

    Ben

    Thread Starter Salpetriere

    (@salpetriere)

    Thanks for your response.

    I’ve just run through this again and the problem is a little different what is described above. I apologize for the incorrect description provided previously.

    To replicate the issue please take the following steps.

    1. Create a form with text, dropdown, checkbox and textarea fields
    2. Enable Basic Honey Pot Spam Check
    3. Enable Google reCAPTCHA with functional keys
    4. Specify an email for the form to be sent to
    5. Put through a successful form submission on the front end, do not refresh the page
    6. Enter new details in the form fields without refreshing the page
    7. Attempt to put through another submission

    This is where the issue lies.

    My client tried to put though a second form submission without refreshing the page after the first successful submission. The form never sent the email (it didn’t display any success or error message after hitting the submit button either).

    Although this is highly unlikely to ever occur in the real world, my client still perceives the form to be broken in some way and is concerned that it will not work for their clients.

    I’ve tested this out and the console is throwing a few JS errors when performing the second form submission (without a page refresh).

    Could you look into it?

    Thread Starter Salpetriere

    (@salpetriere)

    Hi @ben

    Did you have any luck resolving this?

    I’ve tested it on your demo of the form here and the behavior on the demo is exactly the same as described in my post above.

    Our website has recently been made live and my client is convinced they are missing important emails as a result of this, in conjunction with another issue that I’ve started a new thread for here.

    Many thanks for your time.

    Hey,
    I have been able to test this. It’s due to Recaptcha. I’m going to start by making sure the error shows when it fails so it’s very visible and when it’s a recaptcha error it asks the user to reload the page and try again.

    I’m also looking to see if I can find a way for google recaptcha to approve a second submission

    I plan for the next update to be out Friday.

    Ben

    Thread Starter Salpetriere

    (@salpetriere)

    Thanks @ben

    That’s much appreciated.

    Displaying the ‘Recapcha Error Message’ that we specify in the form settings should be sufficient to ensure that our clients do not assume that the email has actually sent.

    Thread Starter Salpetriere

    (@salpetriere)

    Hi @ben

    Did you have any luck with this? My client is becoming quite upset about it.

    Hi,
    I recently pushed out an update that resolves the message not showing

    Ben

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Form Block – Submission Not Working After Display Of Validation Errors’ is closed to new replies.