I haven't quite figured this out myself but here's what I do. By default all form fields have required=True. So, specifying required=True is not necessary. If the default value is True, pre- check the checkbox with initial={'checkme': True}. If the default value is False, specify required=False. This has the effect, as you noted, that the field is dropped from the posted data if the checkbox is unchecked. But, it also has the effect of allowing the form to validate the data correctly. Since it is not required, it doesnt matter to the form if it is missing from the data to be validated. Furthermore, when you retrieve the clean_data, the field will come out as False which is what you want.
Hope this helps! Ken --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---