Drop down for subject

Moderator: crythias

Locked
harish
Znuny newbie
Posts: 42
Joined: 25 Jul 2010, 14:42
Znuny Version: 2.4.7

Drop down for subject

Post by harish »

Crythias,

I have otrs 3.0.8 on ubuntu 10.4. I like to add a drop down box on the subject line of customer ticket instead of text box. How can I add the drop down,so that customer must select the subject from the drop down menu.

Thank you,

HS
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Drop down for subject

Post by crythias »

change the field from input to select in the .dtl

<select name="Subject">
<option>Subject1</option>
<option>Subject2</option>
<select>

Read more in w3schools.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
harish
Znuny newbie
Posts: 42
Joined: 25 Jul 2010, 14:42
Znuny Version: 2.4.7

Re: Drop down for subject

Post by harish »

Crythias,

Thank you and it is working like charm.

Thanks,

HS
mojorianer
Znuny newbie
Posts: 22
Joined: 30 Nov 2010, 01:03
Znuny Version: 3.1.6
Location: Berlin, Germany

Re: Drop down for subject

Post by mojorianer »

Hy,

is there a similar solution with the help of dynamic fields?

Thanks

Mojo
OTRS 3.1.10 on CentOS 6
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Drop down for subject

Post by crythias »

mojorianer wrote:is there a similar solution with the help of dynamic fields?
Yes, if the dynamic fields already have values, they should be listed as dropdown, or else do exactly the same thing with the field name related to your Dynamic Field.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
mojorianer
Znuny newbie
Posts: 22
Joined: 30 Nov 2010, 01:03
Znuny Version: 3.1.6
Location: Berlin, Germany

Re: Drop down for subject

Post by mojorianer »

Hy,

is it possible to use a dynamic field (dropdown) as subject?

Thanks
OTRS 3.1.10 on CentOS 6
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Drop down for subject

Post by crythias »

mojorianer wrote:is it possible to use a dynamic field (dropdown) as subject?
Sure. Why not? Javascript onchange of dynamic field, set value of subject to value of dynamic field... you know, the field you just chose which will already save as a value anyway.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked