Skip to content

Conversation

@grantemsley
Copy link
Contributor

Currently there's no way to do any validation on core fields. This can be used to do additional validation on any field. In my case, I'm using it to ensure any Cc that is added is an internal email address. The regular ticket creation forms already have similar callbacks that can be used to add custom validation of built in fields and show an error before a ticket is created.

I hope to use this callback in my extension https://github.com/grantemsley/RT-Extension-RestrictEmailDomain

…lidation

This can be used to do additional validation. In my case, I'm using it to ensure any Cc that is added is an internal email address.
The regular ticket creation forms already have similar callbacks that can be used to add custom validation of built in fields.
@bkembreeBPS
Copy link
Contributor

Thanks Grant!

Your change has been added in 2.03 for RT 6 and 1.19 for RT 5.

New releases should be available on CPAN soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants