Added a default constraint for validator to set a default value when a non-required field is not supplied