add requiredMessage so users can add a custom message for requied fields