Thank you for writing and the location of the code which contains the
validation definitions. It would not be too bad to add the various
validations here, as it is better than the alternative of typos when
someone tries to enter a validation when creating a custom field.
Ideally, this data showed be stored in the database somewhere and the
contents maintained via the Global configuration option. At least I know
where to make a change when the time comes to use this capability.
Consulting System Administrator
DigitalGlobe ®, An Imaging and Information Company
From: Joshua Colson [mailto:email@example.com]
Sent: Thursday, June 22, 2006 1:52 PM
To: Todd Chapman
Cc: Nick Metrowsky; firstname.lastname@example.org
Subject: Re: [rt-users] RT 3.6.0 Custom Field Validation
On Thu, 2006-06-22 at 15:41 -0400, Todd Chapman wrote:
I agree. Lots of extensions could be made for different types
of validation. Looking at the RT code, I’m surprised there is
no Callback for adding new ones. I’m sure Jesse would take
a patch for that.
You could just edit html/Admin/CustomFields/Modify.html and add them in
to the Validation section. It isn’t ideal, but it may help.
Joshua Colson email@example.com