Hi, I've this template:
<input class="move_game" id="id_move" name="radio1" type="radio" checked /> <input class="move_game" id="id_draw" name="radio1" type="radio" /> <input class="move_game" id="id_resign" name="radio1" type="radio" /> And this View: class MoveGameForm(forms.Form): resign = forms.BooleanField(required=False) draw = forms.BooleanField(required=False) move = forms.BooleanField(required=False) I'm writing the view, with: ........ ........ if form.is_valid(): draw = form.cleaned_data['move'] move = form.cleaned_data['draw'] resign = form.cleaned_data['resign'] if resign == 1: ............ but (if resign == 1) don't work... where is the error? thanks, Alfredo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---