Order of FreeTextFields ?

Moderator: crythias

Locked
clietech
Znuny newbie
Posts: 3
Joined: 16 Jan 2012, 14:08
Znuny Version: 3
Real Name: Mesut Güngör
Company: Izmir Institute of Technology

Order of FreeTextFields ?

Post by clietech »

Is there a way that the fields can be configured in a ticket template as in the following order

Ticket Type
FreeText1
Destination (Queue Combo box)
FreeText2
FreeText3
Subject
Body(RichText Editor)

in the CustomerTicketMessage.dtl template file all the free text fields are rendered with just the following

$Data{"TicketFreeKeyField"}
$Data{"TicketFreeTextField"}

So all the freetext fields shows in order i couldn't insert the destation (Queue Combobox) Field between First and Second FreeTextField.

Is there a way to do this ?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Order of FreeTextFields ?

Post by jojo »

You need to change the template. You can directly refer to the single fields with adding the number at the end of the name
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
clietech
Znuny newbie
Posts: 3
Joined: 16 Jan 2012, 14:08
Znuny Version: 3
Real Name: Mesut Güngör
Company: Izmir Institute of Technology

Re: Order of FreeTextFields ?

Post by clietech »

Hi jojo, i think i have already tried what you have said. Is that the what you mean ?

Code: Select all

$Data{"TicketFreeKeyField1"}
$Data{"TicketFreeTextField1"}
when i tried this it shows all the freetext field filled with the content of TicketFreeText1 i mean it shows

FreeText1
FreeText1
FreeText1

not

FreeText1
Locked