id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 3101 newforms produces invalid XHTML with hidden fields Eric Adrian Holovaty "Based on the unit tests around line 1769 in source:/django/trunk/tests/regressiontests/forms/tests.py Django's newforms produce invalid XHTML. The only elements allowed under a tag are , , and . I am unsure of a concrete solution to this. If the hidden field isn't the last field, rendering can be delayed until the next rendered
tag (the next label). In the case that the hidden fields are last, perhaps insert them at the end of the last rendered or render an empty row, although that is less-than-ideal." defect closed Forms dev minor fixed Unreviewed 0 0 0 0 0 0