Re: [rt-users] Custom field format validation without being mandatory

2011-07-27 Thread Kevin Falcone
On Wed, Jul 27, 2011 at 11:59:44AM -0700, Edward Frye wrote: > How can I setup a custom field validation and have if so that it can be > blank, OR match my > regular expression > Currently I have: (?#-MM-DD HH:mm:ss)^[12]\d{3}-\d{2}-\d{2} > \d{2}:\d{2}:\d{2}$ > Really what

[rt-users] Custom field format validation without being mandatory

2011-07-27 Thread Edward Frye
> > How can I setup a custom field validation and have if so that it can be > blank, OR match my regular expression > > Currently I have: (?#-MM-DD HH:mm:ss)^[12]\d{3}-\d{2}-\d{2} > \d{2}:\d{2}:\d{2}$ > > Really what I guess what I think I'm looking for is > /(^[12]\d{3}-\d{2}-\d{2} \d{2}:\d{2}

Re: [rt-users] Custom Field format

2007-06-13 Thread Kenneth Crocker
Gene, Thanks for the reply. I am now wondering if anyone out there has managed to ensure a date format when a CF is updated. Anyone? I could use a helpful model. Thanks. Kenn LBNL Gene LeDuc wrote: Hi Kenn, I can't see that there is a "Date" option for custom fields in 3.6.3 either, al

Re: [rt-users] Custom Field format

2007-06-13 Thread Gene LeDuc
Hi Kenn, I can't see that there is a "Date" option for custom fields in 3.6.3 either, although there is an available validation format "(?#Year)^[12]\d{3}$" that requires entries to begin with a 4-digit year from either this or last century. I don't recognize what the "(?#Year)" at the begin

[rt-users] Custom Field format

2007-06-12 Thread Kenneth Crocker
To all, I am on 3.4.4 and cannot seem to find a way to define a custom field in the 'date' format. Is this possible on 3.4.4? Do I have to upgrade to 3.6.3 for this? thanks. Kenn LBNL ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt