Re: Formwizard - Validation with a database lookup

2011-10-25 Thread youpsla
Hello, I've done it !!! yooohooo. But I think this is not the best way because it can be processor time consuming if I've a lots of suscribers (Wich is not the case now). Here is the code in forms.py: class Step1Form(forms.Form): email_adresse = forms.EmailField(max_length=255) telephone

Formwizard - Validation with a database lookup

2011-10-25 Thread youpsla
Hello, I've setup a 5 steps form (There is only one table in the database). In the first step I ask for Email adresse. I ike this to be unique in the database. By putting parameters "unique=True" in models, the error only raise when submitting the form at the last step. Is there a way to do the