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

Multiple instances of the same form #26

Closed
tyteen4a03 opened this issue Jun 7, 2015 · 1 comment
Closed

Multiple instances of the same form #26

tyteen4a03 opened this issue Jun 7, 2015 · 1 comment

Comments

@tyteen4a03
Copy link

It seems like this plugin is not designed to work well with multiple instances of the same form on the same page. It relies on IDs which makes the page's markup invalid if more than one instance of a form exist.

(Heck, even two forms that happen to share the same field name would make the page invalid HTML as well)

@acatton
Copy link
Contributor

acatton commented Jun 8, 2015

Hello @tyteen4a03,

Thank you for your bug report. However it sounds like the default Django behavior. This is why Django recommends to use prefixes when two forms are on the same page. Have you tried to use prefixes with betterforms?

@CSprat451 CSprat451 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants