Skip to content

Apply field validator to custom fields #609

@eronlloyd

Description

@eronlloyd

I'm experimenting with custom fields on devices to create a code to help locate devices in our facilities. Once a convention is defined for custom fields, it would be great to be able to do input validation on them to make sure they comply. It seems possible to create validators, such as a RegexValidator, and apply it during form.clean() to handle something like this.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions