Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong sequence of steps when one step is optional #91

Closed
anarion80 opened this issue May 15, 2024 · 2 comments
Closed

Wrong sequence of steps when one step is optional #91

anarion80 opened this issue May 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@anarion80
Copy link
Contributor

When a form contains an optional step in the middle of the flow, and it is filled, then it is not possible to submit the form as it goes back to that optional step.

When the optional step is left empty, then the form is correctly submitted.

Example form: https://heyform.net/f/8H01jfZw

To Reproduce
Steps to reproduce the behavior:

  1. Create a form that has a few steps, one of which is optional (not required)
  2. Fill the form, including the optional step.
  3. Go to the end of the form and submit it.

Expected behavior
The form is submitted and proceeds to the Thank You step.

Screenshots
If applicable, add screenshots or videos to help explain your problem.

HeyForm (please complete the following information):

  • Install: both heyform.net and self-hosted
  • Version: a9f764e

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Edge
  • Version: 124.0.2478.97
@anarion80 anarion80 added the bug Something isn't working label May 15, 2024
@iMuFeng
Copy link
Contributor

iMuFeng commented May 15, 2024

Can't reproduce it. The red boxes in the image indicate two optional questions.

image

@anarion80
Copy link
Contributor Author

anarion80 commented May 16, 2024

Ah, ok, so the problem is different. Indeed, when you enter all the 5 address fields then it works. But since the whole address step is not mandatory, user can only enter Address1 for example, without City, Country, etc. - there is no checking each individual field. The user can progress to the next step. But then at the end, the user is brought back to the Address step and the system expects all those fields to be filled out, without any indication to the user. It just keeps getting back to the step, there is no warning or error, there are only errors in the console:

image

This I think is still wrong. If the whole step is not mandatory, then the system should not force all fields to be filled out OR there should be an indication back to the user about this at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants