Freetext newPhoneticket

Moderator: crythias

Locked
thomkortekaas
Znuny newbie
Posts: 61
Joined: 17 Dec 2010, 13:22
Znuny Version: 3.0

Freetext newPhoneticket

Post by thomkortekaas »

Hi all,

Desired situation:

For the NewPhoneticket part of OTRS I want to add 2 TicketFreeText options, these are dropdownboxes. (This is no problem, this works fine).
What I want is that if an agent clicks an option in TicketFreetext1, that a number of corresponding items will appear in TicketFreeText2.

TicketFreeText1 = First ContactReason
TicketFreetext2 = Second(or sub) ContactReason

FirstContactReason has about 6 options, and every option has like 5 suboptions.
So I want to click in Firstcontactreason an option, and then the corresponding suboptions will appear in SecondContactReason.


I'm not sure where to start, can someone point this out.. or is this in by default?
OTRS 3.0.7 with MySQL on Windows server 2003 r2 server with AD integration for customers.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Freetext newPhoneticket

Post by crythias »

There is no logic or relation between freetext fields.

If you want to modify http://forums.otrs.org/viewtopic.php?f=60&t=8032 to show TicketFreeText2 or 3 based upon the value of Free Text 1, fine, but there's no way to filter 2 based upon 1.
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
thomkortekaas
Znuny newbie
Posts: 61
Joined: 17 Dec 2010, 13:22
Znuny Version: 3.0

Re: Freetext newPhoneticket

Post by thomkortekaas »

hmm, I thought so.. I couldn't find anything about it in SysConfig or documentation.

What I could try is use Queues for the 1th contact Reason and a FreeTextfield as a second one with help of the javascript that was on the link you posted.

I'll give it a try and post if it works.

P.S. I made a javascript for otrs PhoneTicket that will fill in the fields based on the url.
So if you click or send an url like http://10.7.74.99/otrs/index.pl?Action= ... ethingelse
The customername, subject and body will be prefilled.
Anyone interested? I can post a HOW-TO ?
OTRS 3.0.7 with MySQL on Windows server 2003 r2 server with AD integration for customers.
thomkortekaas
Znuny newbie
Posts: 61
Joined: 17 Dec 2010, 13:22
Znuny Version: 3.0

Re: Freetext newPhoneticket

Post by thomkortekaas »

I got it to work.
Field 2 shows only the values based upon the chosen value of Field 2.
I did it with a custom Javascript and the values are hardcoded in the script.

I'll post a howto next week when i've got the time for it.
OTRS 3.0.7 with MySQL on Windows server 2003 r2 server with AD integration for customers.
Locked