Difference between revisions of "Common functions:Dynamic Drop-down Lists"

From Logilys
Jump to: navigation, search
(Functioning of a Dynamic Drop-down List)
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Header_Common_Functions|1|4.7.3.4|Nadia Carrier||2014/12/19}}
+
{{Header_TOC}}
 +
 
 +
'''<u>CAUTION</u>''' : This document is for '''VERSION''' '''5''' of  '''''Prodon'''''. To go to the document for version 4, [[Common functions:Dynamic Drop-down Lists (Version 4)|click here]]. <br>
 +
 
 +
<br>
  
 
= Introduction  =
 
= Introduction  =
  
A dynamic drop-down list is a field of the database that is presented in the form of a list of options. It is possible to enter information directly into the field, or to select one of the predefined options.&nbsp;  
+
A dynamic drop-down list is a field in the database that is presented in the form of a list of options. It is possible to enter information directly in the field, or to select one of the predefined options.&nbsp;  
  
The options presented in the list must be defined by a '''''ProDon''''' user directly in the field or from the "Dynamic drop-down list management".  
+
The options presented in the list must be defined by a '''''Prodon''''' user directly in the field or in the " Dynamic Drop-down List Management ".  
  
 
<br>  
 
<br>  
  
== Functioning of a Dynamic Drop-down List <br>  ==
+
== Functionality of a Dynamic Drop-down List   ==
  
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
|-
 
|-
| colspan="2" | [[Image:Dymanic Drop-down Lists 001.png]]<br>
+
| colspan="2" | [[File:Prodon5 Dynamic Drop-down Lists 001.png]]
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
There are 2 ways to specify a value in a dynamic drop-down list field:&nbsp;  
+
There are 2 ways to specify a value in a the field of a dynamic drop-down list:&nbsp;  
  
#It is possible to click on [[Image:Dynamic drop-down list button.png]] to select among the predefined options of the list.
+
#Via the [[Common functions:Dynamic Drop-down Lists#Dynamic_Drop-down_List_Management|<nowiki>''</nowiki> Dynamic Drop-down List Management <nowiki>''</nowiki>]].
#If the desired value is not part of the predefined option list, it is possible to enter a new value in the field. <br>'''NOTE:''' If a new value is entered in a dynamic drop-down list, [[Common functions:Dynamic Drop-down Lists#Adding_a_Value_to_the_Predefined_Option_List_from_the_Field|this window]] opens to allow you to add the new entered value to the predefined option list.&nbsp;
+
#It is possible to click on [[Image:Dynamic drop-down list button.png]] to select a value in the predefined list of options. (See <span style="color: rgb(255, 0, 0);">'''A:'''</span> on the image above) If the desired value is not part of the predefined list of options, it is possible to enter a new value in the field. <br>'''NOTE:''' If a new value is entered in a dynamic drop-down list, [[Common functions:Dynamic Drop-down Lists#Adding_a_Value_to_the_Predefined_Option_List_from_the_Field|this window]] opens up to allows you to add the new value to the predefined list of options.&nbsp;
  
There are 2 ways to delete a value from the dynamic drop-down list: <br>
+
There are 2 ways to delete a value from the dynamic drop-down list:
  
#Via the [[Common functions:Dynamic Drop-down Lists#Dynamic_Drop-down_List_Management|dynamic drop-down list management]].<br>
+
#Via the [[Common functions:Dynamic Drop-down Lists#Dynamic_Drop-down_List_Management|<nowiki>''</nowiki> Dynamic Drop-down List Management <nowiki>''</nowiki>]].  
#Select the value to delete among the options (the value must be selected exactly in the same way as the one in the image above) and then click on the "Delete" key of the keyboard. <br>'''NOTE:''' After clicking on the "Delete" key, [[Common functions:Dynamic Drop-down Lists#Removing_a_Value_from_the_Predefined_Option_List_from_the_Field.C2.A0|this window]] opens to confirm that the value should really be removed from the list. <br>
+
#Select the value to delete among the options (the value must be selected exactly the same way as the one in the image above) and then click on the " Delete " key on the keyboard. <br>'''NOTE:''' After clicking on the " Delete " key, [[Common functions:Dynamic Drop-down Lists#Removing_a_Value_from_the_Predefined_Option_List_from_the_Field.C2.A0|this window]] opens up to ask you to confirm that the value should really be deleted from the list. (See <span style="color: rgb(255, 0, 0);">'''A:'''</span> on the image above)  <br>
  
To modify an option in the list, you absolutely need to go through the [[Common functions:Dynamic Drop-down Lists#Dynamic_Drop-down_List_Management|dynamic drop-down list management]].<br>  
+
To modify an option in the list, you must go through the [[Common functions:Dynamic Drop-down Lists#Dynamic_Drop-down_List_Management|<nowiki>''</nowiki> Dynamic Drop-down List Management "]].<br>  
  
 
|}
 
|}
Line 32: Line 36:
 
<br>  
 
<br>  
  
=== Adding a Value to the Predefined Option List from the Field  ===
+
=== Adding a Value to the Predefined Options List from the Field  ===
  
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Après avoir saisi une nouvelle valeur dans un champ de liste déroulante dynamique et que cette valeur ne faisait pas partie des choix prédéfinis de la liste, la fenêtre suivante s'ouvre.  
+
After entering a new value in a field for the dynamic drop-down list and that value is not listed in the predefined options list, the following window opens up.  
  
 
|-
 
|-
| colspan="2" | [[Image:Dymanic Drop-down Lists 002.png]]
+
| colspan="2" |[[File:Prodon5 Dynamic Drop-down Lists 002.png|316x316px]]
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Cliquer sur «&nbsp;[[Image:Bouton Crochet ajouter confirmer.png]] Oui&nbsp;» pour ajouter la nouvelle valeur aux choix prédéfinis de la liste déroulante dynamique.  
+
Click on " [[Image:Button Check mark Confirm.png]] Yes " to add the new value to the predefined options in the " Dynamic Drop-down List ".  
  
En cliquant sur «&nbsp;[[Image:Bouton Annuler.png]] Non&nbsp;», la valeur reste indiquée dans le champ, mais ne s'ajoute pas à la liste déroulante dynamique.
+
By clicking on " [[Image:Button cancel.png]] No ", the value remains in the field, but it is not added in the " Dynamic Drop-down List ".&nbsp;  
  
'''NOTE&nbsp;:''' Pour définir plusieurs nouveaux choix ou pour modifier ou retirer certains choix de la liste, consulter [[Fonctions communes:Listes déroulantes dynamiques#Gestion_des_listes_d.C3.A9roulantes_dynamiques|cette section]].  
+
'''NOTE:''' To define multiple new options, modify or delete certain options in the list, go to [[Common functions:Dynamic Drop-down Lists#Dynamic_Drop-down_List_Management|this section]].&nbsp;
  
 
|}
 
|}
Line 53: Line 57:
 
<br>  
 
<br>  
  
=== Removing a Value from the Predefined Option List from the Field&nbsp;  ===
+
=== Removing a value from the predefined options list from the field&nbsp;  ===
  
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Après avoir supprimé une valeur d'une liste déroulante dynamique à partir d'un champ, la fenêtre suivante s'ouvre.  
+
After deleting a value from a dynamic drop-down list from a field, the following window opens up.&nbsp;
  
 
|-
 
|-
| colspan="2" | [[Image:Dymanic Drop-down Lists 003.png]]<br>
+
| colspan="2" |[[File:Prodon5 Dynamic Drop-down Lists 003.png|frameless|330x330px]]
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Cliquer sur «&nbsp;[[Image:Bouton Crochet ajouter confirmer.png]] Oui&nbsp;» pour confirmer le retrait de la valeur aux choix prédéfinis de la liste déroulante dynamique.
+
Click on " [[Image:Button Check mark Confirm.png]] Yes " to confirm the removal of the value in the predefined options in the " Dynamic Drop-down List ".&nbsp;  
  
'''NOTE&nbsp;:''' Pour supprimer plusieurs choix ou pour modifier ou ajouter certains choix de la liste, consulter [[Fonctions communes:Listes déroulantes dynamiques#Gestion_des_listes_d.C3.A9roulantes_dynamiques|cette section]].  
+
'''NOTE:''' To delete multiple options, modify or add certain options in the list, go to [[Common functions:Dynamic Drop-down Lists#Dynamic_Drop-down_List_Management|this section]].&nbsp;
  
 
|}
 
|}
Line 74: Line 78:
 
== Dynamic Drop-down List Management  ==
 
== Dynamic Drop-down List Management  ==
  
La «&nbsp;Gestion des listes déroulantes dynamiques&nbsp;» permet d'ajouter, modifier ou retirer des choix prédéfinis des différentes listes déroulantes dynamiques de '''''ProDon'''''.<br>  
+
The " Dynamic Drop-down List Management " allows you to add, modify or delete predefined options from the different " Dynamic Drop-down Lists " in '''''Prodon'''''.<br>  
  
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Se rendre d'abord dans la «&nbsp;Gestion des listes déroulantes dynamiques&nbsp;».
+
First go to the " Dynamic Drop-down List Management ".&nbsp;  
  
 
|-
 
|-
| colspan="2" | [[Image:Dymanic Drop-down Lists 004.png]]<br>
+
| colspan="2" | [[File:Prodon5 Dynamic Drop-down Lists 004.png|frameless|421x421px]]
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Pour ce faire, à partir de la page d'accueil du logiciel, cliquer sur le menu «&nbsp;Configuration&nbsp;», puis choisir «&nbsp;Listes déroulantes dynamiques&nbsp;».  
+
To do this from the software's home page, click on the " Configuration " menu, <nowiki>''</nowiki> Customization <nowiki>''</nowiki> and select " Dynamic Drop-down Lists ".  
  
 
|}
 
|}
Line 94: Line 98:
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Après avoir cliqué sur «&nbsp;Listes déroulantes dynamiques&nbsp;», la fenêtre suivante s'ouvre.  
+
After clicking on the " Dynamic Drop-down Lists ", the following window opens up.  
  
 
|-
 
|-
| colspan="2" | [[Image:Dymanic Drop-down Lists 005.png]]<br>
+
| colspan="2" | [[File:Prodon5 Dynamic Drop-down Lists 005.png]]
 +
|-
 +
|<span style="color: rgb(255, 0, 0);">'''A:'''</span> The [[Image:Button add plus.png]] button allows you to add a new predefined option into one the group lists specified in&nbsp;<span style="color: rgb(255, 0, 0);">'''D'''</span>. After clicking on that button, [[Common functions:Dynamic Drop-down Lists#Adding_an_Option_to_the_Dynamic_Drop-down_List_from_the_.22Dynamic_drop-down_list_management.22|this window]] opens up.&nbsp;
 +
|<span style="color: rgb(255, 0, 0);">'''B:'''</span> The [[Image:Button Edit.png]] button allows you to modify an option in&nbsp;<span style="color: rgb(255, 0, 0);">'''E'''</span>. To do so, select the option in the list that needs to be modified, then click on the [[Image:Button Edit.png]] button. After clicking on that button, [[Common functions:Dynamic Drop-down Lists#Modifying_an_Option_of_the_Dynamic_Drop-down_List_from_the_.22Dynamic_drop-down_list_management.22.C2.A0|this window]] opens up.&nbsp;
 
|-
 
|-
 
| width="50%" |  
 
| width="50%" |  
<span style="color: rgb(255, 0, 0);">'''A&nbsp;:'''</span> Il s'agit des champs de '''''ProDon''''' qui sont des listes déroulantes dynamiques.  
+
<span style="color: rgb(255, 0, 0);">'''C:'''</span> The [[Image:Button Minus remove delete.png]] button allows you to delete an option in <span style="color: rgb(255, 0, 0);">'''E'''</span>. To do so, select the option in the list to delete, then click on the [[Image:Button Minus remove delete.png]] button. After clicking on that button, [[Common functions:Dynamic Drop-down Lists#Removing_an_Option_from_the_Dynamic_Drop-down_List_from_the_.22Dynamic_drop-down_list_management.22.C2.A0|this window]] opens up.  
  
 
| width="50%" |  
 
| width="50%" |  
<span style="color: rgb(255, 0, 0);">'''B&nbsp;:'''</span> Il s'agit des choix prédéfinis de toutes les listes déroulantes dynamiques de '''''ProDon'''''.
+
<span style="color: rgb(255, 0, 0);">'''D:'''</span> These are the field groups in '''''Prodon''''' that are dynamic drop-down lists.&nbsp;  
 
 
|-
 
|
 
<span style="color: rgb(255, 0, 0);">'''C&nbsp;:'''</span> Le bouton [[Image:Bouton Ajouter.png]] permet d'ajouter un nouveau choix prédéfini à la liste mentionnée en <span style="color: rgb(255, 0, 0);">'''A'''</span>. Après avoir cliqué sur le bouton, [[Fonctions communes:Listes déroulantes dynamiques#Ajout_d.27un_choix_.C3.A0_la_liste_d.C3.A9roulante_dynamique_.C3.A0_partir_de_la_.C2.AB.C2.A0Gestion_des_listes_d.C3.A9roulantes_dynamiques.C2.A0.C2.BB|cette fenêtre]] s'ouvre.
 
 
 
|
 
<span style="color: rgb(255, 0, 0);">'''D&nbsp;:'''</span> Le bouton [[Image:Bouton Modifier.png]] permet de modifier un choix en <span style="color: rgb(255, 0, 0);">'''B'''</span>. Pour ce faire, sélectionner le choix à modifier, puis cliquer sur le bouton [[Image:Bouton Modifier.png]]. Après avoir cliqué sur le bouton, [[Fonctions communes:Listes déroulantes dynamiques#Modification_d.27un_choix_de_la_liste_d.C3.A9roulante_dynamique_.C3.A0_partir_de_la_.C2.AB.C2.A0Gestion_des_listes_d.C3.A9roulantes_dynamiques.C2.A0.C2.BB|cette fenêtre]] s'ouvre.
 
  
 
|-
 
|-
 
|  
 
|  
<span style="color: rgb(255, 0, 0);">'''E&nbsp;:'''</span> Le bouton [[Image:Bouton Retirer.png]] permet de supprimer un choix en <span style="color: rgb(255, 0, 0);">'''B'''</span>. Pour ce faire, sélectionner le choix à modifier, puis cliquer sur le bouton<br>[[Image:Bouton Modifier.png]]. Après avoir cliqué sur le bouton, [[Fonctions communes:Listes déroulantes dynamiques#Retrait_d.27un_choix_de_la_liste_d.C3.A9roulante_dynamique_.C3.A0_partir_de_la_.C2.AB.C2.A0gestion_des_listes_d.C3.A9roulantes_dynamiques.C2.A0.C2.BB|cette fenêtre]] s'ouvre.  
+
<span style="color: rgb(255, 0, 0);">'''E:'''</span> These are the predefined options of all the dynamic drop-down lists in '''''Prodon'''''.  
  
 
|  
 
|  
'''ATTENTION&nbsp;:''' S'assurer qu'aucun élément ne contient la valeur avant de la supprimer sinon, les éléments qui contiennent cette valeur se retrouveront vides. Pour plus d'informations, consulter [[Fonctions communes:Listes déroulantes dynamiques#Retrait_d.27un_choix_de_la_liste_d.C3.A9roulante_dynamique_.C3.A0_partir_de_la_.C2.AB.C2.A0gestion_des_listes_d.C3.A9roulantes_dynamiques.C2.A0.C2.BB|cette section]].<br>
+
'''CAUTION:''' Make sure no items contain that value before deleting it, otherwise, the items that contain this value will now have that value emptied. For more information, see [[Common functions:Dynamic Drop-down Lists#Removing_an_Option_from_the_Dynamic_Drop-down_List_from_the_.22Dynamic_drop-down_list_management.22.C2.A0|this section]].  
  
 
|}
 
|}
Line 123: Line 123:
 
<br>  
 
<br>  
  
=== Adding an Option to the Dynamic Drop-down List from the "Dynamic drop-down list management"  ===
+
=== Adding an option in the dynamic drop-down list from the " Dynamic Drop-down List Management "  ===
  
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Après avoir cliqué sur le bouton [[Image:Bouton Ajouter.png]], la fenêtre suivante s'ouvre.  
+
After clicking on the [[Image:Button add plus.png]] button, the following window opens up.&nbsp;
  
 
|-
 
|-
| colspan="2" | [[Image:Dymanic Drop-down Lists 006.png]]<br>
+
| colspan="2" | [[File:Prodon5 Dynamic Drop-down Lists 006.png]]
 
|-
 
|-
 
| width="50%" |  
 
| width="50%" |  
<span style="color: rgb(255, 0, 0);">'''A&nbsp;:'''</span> Choisir le champ de liste déroulante dynamique pour lequel un choix doit être ajouté.  
+
<span style="color: rgb(255, 0, 0);">'''A:'''</span> Select the field group of the drop-down list for which an option will be added.&nbsp;
  
 
| width="50%" |  
 
| width="50%" |  
<span style="color: rgb(255, 0, 0);">'''B&nbsp;:'''</span> Saisir la valeur du choix prédéfini.  
+
<span style="color: rgb(255, 0, 0);">'''B:'''</span> Enter the value for the new predefined option.  
  
 
|}
 
|}
Line 143: Line 143:
 
<br>  
 
<br>  
  
=== Modifying an Option of the Dynamic Drop-down List from the "Dynamic drop-down list management"&nbsp;  ===
+
=== Modifying an option in the dynamic drop-down list from the " Dynamic Drop-down List Management "&nbsp;  ===
  
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Après avoir cliqué sur le bouton [[Image:Bouton Modifier.png]], la fenêtre suivante s'ouvre.  
+
After clicking on the&nbsp;[[Image:Button Edit.png]] button, the following window opens up.  
  
 
|-
 
|-
| colspan="2" | [[Image:Dymanic Drop-down Lists 007.png]]<br>
+
| colspan="2" | [[File:Prodon5 Dynamic Drop-down Lists 007.png]]<br>
 
|-
 
|-
 
| width="50%" |  
 
| width="50%" |  
<span style="color: rgb(255, 0, 0);">'''A&nbsp;:'''</span> Choisir le champ de liste déroulante dynamique pour lequel un choix doit être modifié.<br>
+
<span style="color: rgb(255, 0, 0);">'''A:'''</span> Select the field group from the drop-down list in which an option will be modified.
  
 
| width="50%" |  
 
| width="50%" |  
<span style="color: rgb(255, 0, 0);">'''B&nbsp;:'''</span> Saisir la nouvelle valeur du choix prédéfini.<br>  
+
<span style="color: rgb(255, 0, 0);">'''B:'''</span> Enter the new value for the predefined option. <br>  
  
 
|-
 
|-
 
|  
 
|  
<span style="color: rgb(255, 0, 0);">'''C&nbsp;:'''</span> Si cette case est cochée, la nouvelle valeur saisie en <span style="color: rgb(255, 0, 0);">'''B'''</span> sera assignée à tous les éléments qui contenaient l'ancienne valeur.<br>
+
<span style="color: rgb(255, 0, 0);">'''C:'''</span> If this checkbox is checked, the new value entered in <span style="color: rgb(255, 0, 0);">'''B'''</span> will be assigned to the items that contain the old value.
  
 
|  
 
|  
<span style="color: rgb(255, 0, 0);">'''D&nbsp;:'''</span> Il s'agit du nombre d'éléments dans lesquels la valeur à modifier était spécifiée.  
+
<span style="color: rgb(255, 0, 0);">'''D:'''</span> This is the number of items to which the value that is going to be modified is specified to.&nbsp;
  
 
|}
 
|}
Line 170: Line 170:
 
<br>  
 
<br>  
  
=== Removing an Option from the Dynamic Drop-down List from the "Dynamic drop-down list management"&nbsp;  ===
+
=== Removing an option from the dynamic drop-down list from the "Dynamic Drop-down List Management"&nbsp;  ===
  
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
{| width="200" cellspacing="1" cellpadding="1" border="1" class="wikitable"
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
Après avoir cliqué sur le bouton [[Image:Bouton Retirer.png]], la fenêtre suivante s'ouvre.  
+
After clicking on the [[Image:Button Minus remove delete.png]] button, the following window opens.  
  
 
|-
 
|-
| colspan="2" | [[Image:Dymanic Drop-down Lists 008.png]]<br>
+
| colspan="2" | [[File:Prodon5 Dynamic Drop-down Lists 008.png]]<br>
 
|-
 
|-
 
| width="50%" |  
 
| width="50%" |  
<span style="color: rgb(255, 0, 0);">'''A&nbsp;:'''</span> Il s'agit du champ de liste déroulante dynamique pour lequel le choix en <span style="color: rgb(255, 0, 0);">'''B'''</span> doit être retiré.  
+
<span style="color: rgb(255, 0, 0);">'''A:'''</span> This is the field group in the dynamic drop-down list for which the option <span style="color: rgb(255, 0, 0);">'''B'''</span> should be deleted.  
  
 
| width="50%" |  
 
| width="50%" |  
<span style="color: rgb(255, 0, 0);">'''B&nbsp;:'''</span> Il s'agit de la valeur qui sera retirée des choix prédéfinis.  
+
<span style="color: rgb(255, 0, 0);">'''B:'''</span> This is the value that will be deleted from the predefined options in the dynamic drop-down list.  
  
 
|-
 
|-
 
|  
 
|  
<span style="color: rgb(255, 0, 0);">'''C&nbsp;:'''</span> Si cette case est cochée, tous les éléments qui contenaient la valeur en <span style="color: rgb(255, 0, 0);">'''B'''</span> se retrouveront vides.  
+
<span style="color: rgb(255, 0, 0);">'''C:'''</span> If this checkbox is checked, all the items that contain the value at <span style="color: rgb(255, 0, 0);">'''B'''</span> will be emptied.  
  
 
|  
 
|  
<span style="color: rgb(255, 0, 0);">'''D&nbsp;:'''</span> Il s'agit du nombre d'éléments dans lesquels la valeur à retirer était spécifiée.  
+
<span style="color: rgb(255, 0, 0);">'''D:'''</span> This is the number of items to which the value to delete is specified to.&nbsp;
  
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
'''ATTENTION&nbsp;:''' S'assurer que le nombre d'items en <span style="color: rgb(255, 0, 0);">'''D'''</span> est à '''0''' avant de supprimer une valeur sinon, les éléments qui contiennent cette valeur se retrouveront vides.  
+
'''CAUTION:''' Make sure the number of items mentioned at <span style="color: rgb(255, 0, 0);">'''D'''</span> is down to '''0''' before deleting the value, otherwise, the information in this value will become empty.&nbsp;
  
 
|}
 
|}
Line 201: Line 201:
 
<br>  
 
<br>  
  
{{Footer_Common_Functions}}
+
{{Footer_Common_Functions}}<br>

Latest revision as of 16:41, 24 July 2018

Dynamic Drop-down Lists

CAUTION : This document is for VERSION 5 of Prodon. To go to the document for version 4, click here.


Introduction

A dynamic drop-down list is a field in the database that is presented in the form of a list of options. It is possible to enter information directly in the field, or to select one of the predefined options. 

The options presented in the list must be defined by a Prodon user directly in the field or in the " Dynamic Drop-down List Management ".


Functionality of a Dynamic Drop-down List

Prodon5 Dynamic Drop-down Lists 001.png

There are 2 ways to specify a value in a the field of a dynamic drop-down list: 

  1. Via the '' Dynamic Drop-down List Management ''.
  2. It is possible to click on Dynamic drop-down list button.png to select a value in the predefined list of options. (See A: on the image above) If the desired value is not part of the predefined list of options, it is possible to enter a new value in the field.
    NOTE: If a new value is entered in a dynamic drop-down list, this window opens up to allows you to add the new value to the predefined list of options. 

There are 2 ways to delete a value from the dynamic drop-down list:

  1. Via the '' Dynamic Drop-down List Management ''.
  2. Select the value to delete among the options (the value must be selected exactly the same way as the one in the image above) and then click on the " Delete " key on the keyboard.
    NOTE: After clicking on the " Delete " key, this window opens up to ask you to confirm that the value should really be deleted from the list. (See A: on the image above)

To modify an option in the list, you must go through the '' Dynamic Drop-down List Management ".


Adding a Value to the Predefined Options List from the Field

After entering a new value in a field for the dynamic drop-down list and that value is not listed in the predefined options list, the following window opens up.

Prodon5 Dynamic Drop-down Lists 002.png

Click on " Button Check mark Confirm.png Yes " to add the new value to the predefined options in the " Dynamic Drop-down List ".

By clicking on " Button cancel.png No ", the value remains in the field, but it is not added in the " Dynamic Drop-down List ". 

NOTE: To define multiple new options, modify or delete certain options in the list, go to this section


Removing a value from the predefined options list from the field 

After deleting a value from a dynamic drop-down list from a field, the following window opens up. 

Prodon5 Dynamic Drop-down Lists 003.png

Click on " Button Check mark Confirm.png Yes " to confirm the removal of the value in the predefined options in the " Dynamic Drop-down List ". 

NOTE: To delete multiple options, modify or add certain options in the list, go to this section


Dynamic Drop-down List Management

The " Dynamic Drop-down List Management " allows you to add, modify or delete predefined options from the different " Dynamic Drop-down Lists " in Prodon.

First go to the " Dynamic Drop-down List Management ". 

Prodon5 Dynamic Drop-down Lists 004.png

To do this from the software's home page, click on the " Configuration " menu, '' Customization '' and select " Dynamic Drop-down Lists ".


After clicking on the " Dynamic Drop-down Lists ", the following window opens up.

Prodon5 Dynamic Drop-down Lists 005.png
A: The Button add plus.png button allows you to add a new predefined option into one the group lists specified in D. After clicking on that button, this window opens up.  B: The Button Edit.png button allows you to modify an option in E. To do so, select the option in the list that needs to be modified, then click on the Button Edit.png button. After clicking on that button, this window opens up. 

C: The Button Minus remove delete.png button allows you to delete an option in E. To do so, select the option in the list to delete, then click on the Button Minus remove delete.png button. After clicking on that button, this window opens up.

D: These are the field groups in Prodon that are dynamic drop-down lists. 

E: These are the predefined options of all the dynamic drop-down lists in Prodon.

CAUTION: Make sure no items contain that value before deleting it, otherwise, the items that contain this value will now have that value emptied. For more information, see this section.


Adding an option in the dynamic drop-down list from the " Dynamic Drop-down List Management "

After clicking on the Button add plus.png button, the following window opens up. 

Prodon5 Dynamic Drop-down Lists 006.png

A: Select the field group of the drop-down list for which an option will be added. 

B: Enter the value for the new predefined option.


Modifying an option in the dynamic drop-down list from the " Dynamic Drop-down List Management " 

After clicking on the Button Edit.png button, the following window opens up.

Prodon5 Dynamic Drop-down Lists 007.png

A: Select the field group from the drop-down list in which an option will be modified.

B: Enter the new value for the predefined option.

C: If this checkbox is checked, the new value entered in B will be assigned to the items that contain the old value.

D: This is the number of items to which the value that is going to be modified is specified to. 


Removing an option from the dynamic drop-down list from the "Dynamic Drop-down List Management" 

After clicking on the Button Minus remove delete.png button, the following window opens.

Prodon5 Dynamic Drop-down Lists 008.png

A: This is the field group in the dynamic drop-down list for which the option B should be deleted.

B: This is the value that will be deleted from the predefined options in the dynamic drop-down list.

C: If this checkbox is checked, all the items that contain the value at B will be emptied.

D: This is the number of items to which the value to delete is specified to. 

CAUTION: Make sure the number of items mentioned at D is down to 0 before deleting the value, otherwise, the information in this value will become empty. 



Document name: Common functions:Dynamic Drop-down Lists