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

Kenneth Crocker kfcrocker at lbl.gov
Fri Apr 15 12:51:34 EDT 2011


Kevin,

I thought I had read somewhere that 3.8.8 had a Custom Field type option for
Dates. I was hoping this was true so I could throw away the Custom Code I am
using that was contributed by Emmanuel Lacour. Right now, the code works
pretty well, other than I have no options to format the data to be
consistent with my date formatting preferences for other date fields.

If this is NOT the case, are there any plans to put the RT 4 code into
3.8.10?

Thanks.

Kenn
LBNL

On Mon, Apr 11, 2011 at 1:46 PM, Kevin Falcone <falcone at bestpractical.com>wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110415/a9527a14/attachment.htm>


More information about the rt-users mailing list