pluginsGLPI / formcreator

GLPI Plugin Formcreator (DOWNLOAD : https://github.com/pluginsGLPI/formcreator/releases)
http://www.teclib-edition.com
GNU General Public License v3.0
174 stars 125 forks source link

Top lists on forms #1400

Closed phamorais closed 2 years ago

phamorais commented 5 years ago

when we use the type of question "Suspended List" and we use the "ITIL category", the "completename" is displayed. It is possible to display only the "name". This way the user would only have access to the last name, making it not a very large list.

Captura de tela em 2019-05-08 13-35-38 Completename

btry commented 5 years ago

Hi,

currently the code does not allows to show the name instead of the complete name. This is technically possible.

Showing the complete name allows to avoid ambiguous cases when the name is the same for entries with different ancestors.

phamorais commented 5 years ago

@btry

I agree.

In my case, I offer the list just on the form. In my company, the form is already categorized, so the user does not need to view the ancestors.

Example:

Form: Alpha System Question: Select the system module List: Ticket Category

My Ticket Category is as follows:

1 - Alpha System 2 - Alpha System> Financial 3 - Alpha System> Customer 4 - Alpha System> Product

When my client selects my form, it will only see the "Financial, Customer and Product" modules in the list, and the "name" is displayed only on the form, and all ancestors are listed in all GLPI lists.

In my company we did however changed the file "dropdown.class.php" and it worked. But I believe this should be done in the plugin if the project is approved.

Example

list in form

formulário

List in GLPI

lista

btry commented 5 years ago

dropdown.class.php is a file belonging to GLPI, not the plugin. Your change might affect all dropdowns in GLPI and plugins.

phamorais commented 5 years ago

exactly!

So I posted here in the plugin, I believe this can be handled in Formcreator and not in GLPI.

For my working process changing the file "dropdown.class.php" had no impact, but it might have to the community. So I did not suggest it on the GLPI page.

btry commented 5 years ago

If I have enough time I may implement a setting in version 2.9.0

phamorais commented 5 years ago

@btry thx!

phamorais commented 4 years ago

Hi @btry is there any chance of this being implemented?

phamorais commented 4 years ago

Hi @btry Any chance this in form v10.2?

btry commented 4 years ago

Hi

It is too late, v2.10.2 is already out. I'm focusing on stabilization of 2.11 and performance optimization for now.

phamorais commented 3 years ago

@btry Thx! I will wating!

phamorais commented 3 years ago

@btry Any chance this in form v2.11.3?

btry commented 3 years ago

Hi

I'm busy with tasks for customers. Consider subscribing support and request for a quote. This way you can get better delays.