On Friday, March 30, 2012 11:39:01 AM UTC-4, Fran wrote: > > On Friday, 30 March 2012 16:34:43 UTC+1, Fran wrote: >> >> I see it did default to 0, but the form doesn't get saved...just as I >> originally said... >> > > The error comes from the e in (v, e) = self.other(item) > i.e. "value not allowed" from the IS_IN_SET() > > I tried adding "" to the set, but obviously that's not an integer so it > gets rejected... >
Is the problem that one or more of the input fields generated by the widget is being submitted with no value, and therefore the IS_IN_SET validator is returning an error? Do you not want an error in that case? If not, setting IS_IN_SET(..., multiple=True) doesn't work? Anthony

