[rt-users] Unique CustomField

Emmanuel Lacour elacour at easter-eggs.com
Fri Sep 25 10:54:22 EDT 2009


On Fri, Sep 25, 2009 at 09:46:41AM -0400, Seth Lake wrote:
> Would love a way to tag a custom field as requiring a unique, non
> duplicate value (such as a serial number or UPC code).
> 
> While I'm begging I would also love a way to for capitalization in a
> field also (such as a serial number or software license key).
> 
> Don't see any such mods on the wiki, anyone know if any of this has been
> done before?
> 

In RT > 3.6 (you would better run 3.8), you can define a rules for
customfield using a regexp.

So in your case, you can create an "Enter one value" CF with a
validation regexp maching your code rules.




More information about the rt-users mailing list