[rt-users] Mandatory ticket fields

Schultz, Eric ESchultz at corp.untd.com
Fri Jul 21 11:14:24 EDT 2006


> On Fri, Jul 21, 2006 at 11:56:44AM +0530, Himanshu Agrawal wrote:
> > I need to mould RT, such that a few of the Custom Fields 
> and Subject and
> > Requestor are mandatory while ticket creation.
> > 
> > I have an approach:
> > 1. Make changes in database - add a field 'required' to table
> > 'ObjectCustomFields' 
> > 2. Provide a check box 'Make Mandatory' while creation of 
> custom field
> > 3. Hard-code checks for Subject and Requestor.
> > 
> > Does this sound right? I will appreciate any inputs on the same.
> > 
> > I'm using RT 3.4 on Linux RedHat 9 with Apache 2 and Perl 5.8.8.
> 
> RT 3.6 has featores to make required custom fields. I have 
> recently added code to check for required subject in the
> API and UI. 

For Subject and Requestor, it should be simple enough to have a
javascript in the page to force these.  I have one for Subject already,
it was not difficult.

Eric Schultz
United Online



More information about the rt-users mailing list