CustomerCompany AutoComplete

Moderator: crythias

Locked
tontonsam
Znuny newbie
Posts: 5
Joined: 10 Mar 2011, 10:12
Znuny Version: 3.0.4

CustomerCompany AutoComplete

Post by tontonsam »

Hi all,

I'm using OTRS 3.2.7, and i just activate the $Self->{CustomerUser}->{CustomerCompanySupport} = 1;

Now, i can see, when i create a "user", i need to link it to a "Company" (CustomerID) in a drop down list. Good, but not perfect...

My question is : Can i replace the drop down list by a AutoComplete...? Look like when you create a ticket, and you enter two first digit of you user or email...etc..

Thanks a lot for your help,
Sam
tontonsam
Znuny newbie
Posts: 5
Joined: 10 Mar 2011, 10:12
Znuny Version: 3.0.4

Re: CustomerCompany AutoComplete

Post by tontonsam »

Too hard...? Impossible....?

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

Re: CustomerCompany AutoComplete

Post by crythias »

1) I don't think 5 hours is enough time to try to bump this ticket
2) The request is probably not necessary for most people as your company list/customer_id list is likely a small fraction of your customer list, and with a good choice of customer_id, you should be able to type lookup within your drop down list. OR, if not, the information for larger environments is being populated from an external data source, in which case the development for lookup is (imo) wasted.
That said, it's theoretically possible to plug it in with some ajaxy javascript, but I don't have a clue if it's worth it to put it into core, so you'd have to get it developed for your needs.
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
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: CustomerCompany AutoComplete

Post by KlausNehrer »

tontonsam wrote:My question is : Can i replace the drop down list by a AutoComplete...? Look like when you create a ticket, and you enter two first digit of you user or email...etc..
Yes! With developement.
You need know how in Ajax (or JavaScript), maybe perl also ...
Locked