Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Invo - what is the purpose of validation in RegisterForm?

Hi! I'm making registration on my app. I copied what invo has, and found that registrationform is useless. The real validation is happening in User model.

I just want to know if the validation in form should give me some benefits over validation in the user model (when save is made)?



31.2k
Accepted
answer

Hi,

forms are usefull if (imho) you're not dealing with a database/model mapping, eg: contact form, email submission and so on