I am in the process of learning form validation.
From what I have gathered, form input validation should be done on the frontend, whereas db & security validation