When you need to use data from more than one form field, THAT
validations should be done in a method called 'clean', becasue when
clean is execute you are sure that all the fields were c
cleaned.
--
Juanjo Conti & Ceci
--~--~-~--~~~---~--~~
You received this mess
On Tue, Jun 10, 2008 at 1:13 PM, Adi <[EMAIL PROTECTED]> wrote:
>
> I have a form with two fields
>
> class TestForm (forms.Form):
>EVENT_TYPE_CHOICES = ( ( "", "---Please Select---"),
> ("01","Individual"), ("02","Team") )
>eventtype =
> forms.CharField(max_length=2,choices=EVENT_
I have a form with two fields
class TestForm (forms.Form):
EVENT_TYPE_CHOICES = ( ( "", "---Please Select---"),
("01","Individual"), ("02","Team") )
eventtype =
forms.CharField(max_length=2,choices=EVENT_TYPE_CHOICES)
participants = forms.IntegerField(required=False, initi
3 matches
Mail list logo