elementor icon indicating copy to clipboard operation
elementor copied to clipboard

Error: "Submit" button in multi-step form reloads the page.

Open TigranSaakyan opened this issue 6 years ago • 6 comments

Prerequisites

  • [X] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • [X] The issue still exists against the latest stable version of Elementor.

Description

When I am using a single-step form, the "submit" button works just fine. However, when I divide the form into several steps - the submit button at the end of the form reloads the page instead of submitting it. All fields get emptied and I return to the start of the form. After the reload it also brings me to the top of the page.

When I try to exit or reload the page, google chrome gives a notification "Confirm Form Resubmission" as if the information is still inside the form (but fields are actually empty).

Steps to reproduce

Thanks to kbrebel04, the issue is found to occur only when the "step" setting of multistep form is set to "Progress bar" or "None". kbrebel04 describes good steps to reproduce this issue in comments below.

To reproduce this issue, create a long multi-step form (it's kinda specific to my situation, but hope it helps when you try to solve it)

Step 1: 2 regular text fields 1 field for email 1 field for tel

Step 2: 8 regular text fields 1 checkbox field

Step 3: 2 regular text fields

reCAPTCHA v.2 (i tried disabling it- it has no effect on the form submission outcome)

I am using Astra theme Elementor Version 2.9.12 Elementor Pro Version 2.10.2 I disabled all JS/CSS optimization plugins

Isolating the problem

  • [X] This bug happens with only Elementor plugin active (and Elementor Pro).
  • [x] This bug happens with a default WordPress theme active.
  • [x] I can reproduce this bug consistently using the steps above.

Environment

System Info ``` ```

TigranSaakyan avatar Jun 19 '20 00:06 TigranSaakyan

I may have had this too. Will keep an eye out for it

asimcard avatar Jun 19 '20 03:06 asimcard

I have the same problem. Following

NereuFajardo avatar Jun 19 '20 14:06 NereuFajardo

Description Multistep form fails to send mail and provide success message when the STEP TYPE setting is set to "PROGRESS BAR" or "NONE".

Steps to reproduce

  1. Create a Form.
  2. Set a form field to STEP
  3. Set STEP TYPE setting to "PROGRESS BAR" or "NONE".
  4. Save form
  5. Fill out form and hit submit to see the page will refresh without a success message and no mail delivered.

kylebarfuss avatar Jun 21 '20 23:06 kylebarfuss

Same bug here. Updated to Free 2.9.13 Pro 2.10.2. Forms only work if default steps are used.

Worldwebscapes avatar Jun 23 '20 09:06 Worldwebscapes

I also noticed that multi-step forms appear as regular (single-step) forms on mobile and tablet

TigranSaakyan avatar Aug 08 '20 21:08 TigranSaakyan

This issue has been resolved in Elementor v2.10.3

Feel free to update

Thanks!

arielk avatar Sep 01 '20 20:09 arielk