[rt-users] Non-Mandatory CF is being required

Jeff Blaine jblaine at kickflop.net
Mon May 10 14:15:36 EDT 2010


RT 3.8.7

I must be misunderstanding something, because as I see it, it
appears that defining a validation regexp for a Custom Field
causes that Custom Field to be non-optional.

Name:        Occurred Date
Applies to:  Tickets
Type:        Enter multiple values
Validate:    (?#YYYY-MM-DD)^\d\d\d\d-\d\d-\d\d$

Creating a new ticket via the web GUI is rejected with:

     Occurred Date: Input must match [YYYY-MM-DD]

What am I doing wrong?  We don't want this field to be
required.  *IF* it is set to something, it must match
that regexp.






More information about the rt-users mailing list