[rt-users] How to make the subject field mandatory?

Bill Cole rtusers-20090205 at billmail.scconsult.com
Tue Jun 30 19:31:15 EDT 2009


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)




More information about the rt-users mailing list