Preformatted Subject

Is there a way to make the Subject field a drop down menu? For continuity purposes, we would like to implement a set list of Subjects. I’m relatively new to RT so a point in the direction of relevant resources (if available) would be great! Thanks all in advance.

I think the best way to handle this would be through JavaScript, you can create a file local/static/js/AnyName.js then in your add the following config option:

Set( @JSFiles, ('AnyName.js') );

Then the content of the file can be something along the lines of this:

    if ( window.location.href.indexOf('Ticket/Create.html') >= 1 ) {
            <select name="Subject">
                    Some Option

Where you can just replace the existing text input with whatever HTML input you’d like.

1 Like