Is this what you are talking about? Taken from:<a href="http://uswaretech.com/blog/2010/01/doing-things-with-django-forms/" rel="nofollow">http://uswaretech.com/blog/2010/01/doing-things-with-django-...</a> higher in this thread.<p>5.<p>Prob. You want to create a field which has cross field validations.<p>Ans. Create a field with a .clean<p><pre><code>  class UserForm(forms.Form):
    username = forms.CharField()

    password1 = forms.PasswordField()
    password2 = forms.PasswordField()

    def clean(self):
        data = self.cleaned_data
        if "password1" in data and "password2" in data and data["password1"] != data["password2"]:
            raise forms.ValudationError("Passwords must be same")</code></pre>