Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#11641 closed (invalid)

using BooleanField with FormSet

Reported by: anonymous Owned by: nobody
Component: Forms Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When constructing a FormSet from a Form with a BooleanField, it seems like the form that is submitted does not include values when they are unchecked, prompting FormSet to through a validation error because not all values are included. I tried setting required to both True and False for the boolean field to no avail. I am on trunk, r11381.

thanks

Change History (2)

comment:1 by Russell Keith-Magee, 15 years ago

Resolution: invalid
Status: newclosed

You need to set required=False. This is a documented quirk of BooleanFields.

comment:2 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top