I want to make a user-registration form where I will have fields such first name, last name, email, re-email, and password.
So my question is how to validate so the input email and re-email is equal. I couldn’t find some help when reading the documentation for validation here: https://docs.djangoproject.com/en/1.4/ref/validators/
I found this site when googled, but it seems Django has changed alot since 2006. Because AlwaysMatchOtherField doesn’t exist in 1.4
Here’s is the site
http://www.b-list.org/weblog/2006/sep/02/django-tips-user-registration/
You can overwrite your forms
cleanmethod to do validate fields that rely on each other.With regard a registration form, you should use
django-registration