When two forms on one page have the same-named field, Django will generate invalid HTML:
<!--one form -->
<input id="id_name"..../>
...
<!--another form-->
<input id="id_name".../>
Invalid because two or more nodes share the same id.
How can this be avoided?
Thanks.
You need to use form prefixes, as documented here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With