I've created a validator, but it will only work on one field at a time. Currently I have:
validator.WidgetValidatorDiscriminators(
AlphaNumericValidator, field=ITracker['available_areas'])
validator.WidgetValidatorDiscriminators(
AlphaNumericValidator, field=ITracker['available_issue_types'])
validator.WidgetValidatorDiscriminators(
AlphaNumericValidator, field=ITracker['available_severities'])
The validator will work on one of the fields, but ignores the other two. I've confirmed the validation works on each separately. How can I use the same validator on multiple fields?
I've created a validator, but it will only work on one field at a time. Currently I have:
The validator will work on one of the fields, but ignores the other two. I've confirmed the validation works on each separately. How can I use the same validator on multiple fields?