How to make the subject field mandatory?

How can I make the subject field a mandatory field?

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel

Kevin Gagel wrote, On 6/30/09 4:41 PM:

How can I make the subject field a mandatory field?

Write a BeforeCreate callback to validate that the subject meets your needs.

The callback routine needs to be placed in:
$RT_ROOT/local/html/Callbacks/$localtag/Ticket/Create.html/BeforeCreate
$RT_ROOT/local/html/Callbacks/$localtag/SelfService/Create.html/BeforeCreate

The SelfService callback requires 3.8.4 (or changeset r19205 from the RT SVN
repository)

Kevin!

I implemented Mandatory Subject in my RT 3.8.2 following the
instructions on:

http://wiki.bestpractical.com/view/Extensions and

http://search.cpan.org/dist/RT-Extension-MandatorySubject/

Its working fine.

EltonOn 06/30/2009 05:41 PM, Kevin Gagel wrote:

.sw_message P{margin:0px;padding:0px;} .sw_message {FONT-SIZE: 12pt;FONT-FAMILY:Tahoma,Arial,Helvetica,sans-serif;background:white;} How can I make the subject field a mandatory field?

Kevin W. Gagel

Network Administrator

Local 5448

My blog:

http://mail.cnc.bc.ca/blogs/gagel

My shared files:

http://mail.cnc.bc.ca/users/gagel

!DSPAM:8,4a4a78a053771833920503!

Caro usuário:


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com !DSPAM:8,4a4a78a053771833920503! Caro usuÃrio: * Se este e-mail nÃo foi corretamente classificado como spam, ecaminhe para spam@dspam.al.rs.gov.br ou apenas Spam. * Se este e-mail foi erroneamente classificado como spam, encaminhe para notspam@dspam.al.rs.gov.br ou apenas Inocente.

It works like a charm, thanks.

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel--- Original message —
Subject: Re: [rt-users] How to make the subject field mandatory?
From: Elton S. Fenner elton.fenner@al.rs.gov.br
To: Kevin Gagel gagel@cnc.bc.ca
Cc: RT Users RT-Users@lists.bestpractical.com
Date: 01/07/2009 10:08 AM

Kevin!
I implemented Mandatory Subject in my RT 3.8.2 following the instructions on:
http://wiki.bestpractical.com/view/Extensionsand

Its working fine.

Elton

On 06/30/2009 05:41 PM, Kevin Gagel wrote: How can I make the subject field a mandatory field?

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel

!DSPAM:8,4a4a78a053771833920503!
Caro usuário:

  • Se este e-mail não foi corretamente classificado como spam, encaminhe paraspam@dspam.al.rs.gov.br, ou apenas Spam.
  • Se este e-mail foi erroneamente classificado como spam, encaminhe paranotspam@dspam.al.rs.gov.br, ou apenas Inocente.

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help:http://wiki.bestpractical.com
Commercial support:sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy athttp://rtbook.bestpractical.com
!DSPAM:8,4a4a78a053771833920503!

Caro usuÃrio:

  • Se este e-mail nÃo foi corretamente classificado como spam, ecaminhe paraspam@dspam.al.rs.gov.brou apenas Spam.
  • Se este e-mail foi erroneamente classificado como spam, encaminhe paranotspam@dspam.al.rs.gov.brou apenas Inocente.