Hi Joshua,

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.

Take care!

Nick

------------------------------------------------------------------------
---------
Nick Metrowsky
Consulting System Administrator
303-684-4785 Office
303-684-4100 Fax
[EMAIL PROTECTED]
DigitalGlobe (r), An Imaging and Information Company
http://www.digitalglobe.com
------------------------------------------------------------------------
---------

-----Original Message-----
From: Joshua Colson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 22, 2006 1:52 PM
To: Todd Chapman
Cc: Nick Metrowsky; [email protected]
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 PROTECTED]>

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html

Reply via email to