You can create validators to validate the user data. For more information, refer to Using Data Validation.