I\'ve always read: Put validations in the backend. Frontend validations are for UX, not security. This is because bad actors can trick frontend validation.<