[rt-users] Forcing a custom field to be a mandatory date

Kevin Falcone falcone at bestpractical.com
Mon Apr 11 16:46:54 EDT 2011


On Mon, Apr 11, 2011 at 11:12:13AM -0700, Kenneth Crocker wrote:
>    2) If on 3.8.8+, you can make the CF a "SelectDate" field and get the use of Calendar.

The SelectDate field that you are referencing is a third party patch
with known problems and we cannot advise that you use it.

We have reimplemented this feature properly for RT4

-kevin

>    However, there is no "built-in" way to make the field mandatory unless you add some of your
>    own code. This has been discussed in past threads. We choose to keep the basic code and work
>    around the problem by writing a scrip to use another CF and re-set the Status field (to
>    "stalled" when they "resolve" without setting the date field) and then send email
>    notifications to alert the ticket owners that they need to put in the date field). This is a
>    bit simple, but keeps us from messing with code. However, there are some other options
>    discussed that modify the RT code and allow the CF to be treated as a "TRULY" mandatory field.
>    Check out the threads. I believe there is even a link to some of that code.
> 
>    Hope this helps.
> 
>    Kenn
>    LBNL
> 
>    On Mon, Apr 11, 2011 at 6:30 AM, Vance Walsh <[1]vance_walsh at concordacademy.org> wrote:
> 
>      What would be the proper string to make a Custom field Mandatory and contain a date field?
>      ---
>      Vance Walsh
>      Network and Systems Administrator
>      Concord Academy - Concord, Mass.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110411/21ccc2ef/attachment.sig>


More information about the rt-users mailing list