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

Form Builder within a form - Required Field stop submission #504

Closed
craigpotter opened this issue May 26, 2017 · 3 comments · Fixed by #505
Closed

Form Builder within a form - Required Field stop submission #504

craigpotter opened this issue May 26, 2017 · 3 comments · Fixed by #505
Assignees
Labels

Comments

@craigpotter
Copy link
Contributor

Description:

If form builder is used within a form and you mark any fields as required, it stops the parent form from being submitted.

Version 2.3.4

Expected Behavior

Should allow parent form

Actual Behavior

HTML5 Validation kicks in and stops the form from being submitted

Steps to Reproduce

https://codepen.io/anon/pen/BRbbjW

@ankurk91
Copy link

This is the normal behaviour

@craigpotter
Copy link
Contributor Author

In my case, I have the form builder on a page within a form. On submitting the form, it uses the getData() function to assign the form builder data to a hidden field.

I guess I could try and move the form builder outside the form but seems like this could be the common path users might take.

Maybe it just needs to be documented? Any thoughts @kevinchappell

@kevinchappell
Copy link
Owner

I could see where this is a bug as formbuilder is sometimes used inside a form submitted the normal submit way. I found a solution but probably can't get to it until Monday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants