Mandatory ticket fields

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.

Thanks and regards,
Himanshu Agrawal

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.

-Todd

“Himanshu Agrawal” himanshua@cybage.com 07/21/06 2:26 AM >>>
I need to mould RT, such that a few of the Custom Fields and Subject and
Requestor are mandatory while ticket creation.

3.6 supports mandatory custom fields, though that doesn’t really help you with Subject or Requestor.

Tim Smith

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

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

How did you do ?

cheers
Christian

With this javascript in the HTML head:

And changed the submit button HTML to this:

To check other fields, just add more “if” statements for those other
form values.

Eric Schultz
United Online