how to get a list box

Moderator: crythias

Locked
rvaldomir
Znuny expert
Posts: 155
Joined: 04 Aug 2014, 23:59
Znuny Version: 3.3.8
Real Name: Roberto A. Valdomir

how to get a list box

Post by rvaldomir »

Hi,

I have a list of data in database table and I want to show those options here (red square) in order to select an option to save in time accounting table.

how to present that options in a selectable list?
You do not have the required permissions to view the files attached to this post.
​Roberto A. Valdomir
Mobile: (+598) 93 868 147 | Skype: roberto.a.valdomir
@roberto.valdomir | re.vu/robertovaldomir

----------------------------------------------------------------------------------------
OTRS 3.3.8 | RHEL 6 x64 | Oracle 11g | Custom Development by OTRS365
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: how to get a list box

Post by crythias »

You could jquery it...
Here's my take on it from 2012: viewtopic.php?t=17033
It needs some significant changes to the 4.x+ Object interface and is not recommended except for an idea/proof of concept.

The summary is: have jquery ask for an applet that generates an options list and then use javascript/jquery to replace the options for a select/input field on the form.

Better would be to generate the list server-side, but I didn't spend any time with proof of concept on that.
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