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.
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com