[string] [email] [integer] [number] change validate method to allow empty value if field is not required