Common functions:Dynamic Drop-down Lists

From Logilys
Revision as of 10:59, 25 May 2018 by Jfauvel (talk | contribs)
Jump to: navigation, search
Dynamic Drop-down Lists

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

WARNING : This document is currently being edited/revised, it is possible that some parts are missing or obsolete.


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 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 from the "Dynamic drop-down list management".


Functioning 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. It is possible to click on Dynamic drop-down list button.png to select among the predefined options of the list.
  2. If the desired value is not part of the predefined option list, 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 to allow you to add the new entered value to the predefined option list. 

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 in the same way as the one in the image above) and then click on the "Delete" key of the keyboard.
    NOTE: After clicking on the "Delete" key, this window opens to confirm that the value should really be removed from the list.

To modify an option in the list, you absolutely need to go through the dynamic drop-down list management.


Adding a Value to the Predefined Option List from the Field

After entering a new value in a field of the dynamic drop-down list and this value is not part of the predefined option list, the following window opens.

Prodon5 Dynamic Drop-down Lists 002.png

Click on "Button Check mark Confirm.png Yes" to add a new value to the predefined options of the dynamic drop-down list.

By clicking on "Button cancel.png No", the value remains in the field, but is not added to the dynamic drop-down list. 

NOTE: To define many new options, to modify or to remove certain options of the list, see this section.  


Removing a Value from the Predefined Option List from the Field 

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

Prodon5 Dynamic Drop-down Lists 003.png

Click on "Button Check mark Confirm.png Yes" to confirm the removal of the value from the predefined options of the dynamic drop-down list. 

NOTE: To delete many options, to modify or to add certain options of the list, see this section


Dynamic Drop-down List Management

The "Dynamic drop-down list management" allows you to add, modify or remove 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 so, from the software's home page, click on the "Configuration" menu, then select "Dynamic drop-down lists".


After clicking on "Dynamic drop-down lists", the following window opens.

Prodon5 Dynamic Drop-down Lists 005.png

A: These are the fields of Prodon that are dynamic drop-down lists. 

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

C: The Button add plus.png button allows you to add a new predefined option to the list specified at A. After clicking on that button, this window opens. 

D: The Button Edit.png button allows you to modify an option at B. To do so, select the option to modify, then click on the Button Edit.png button. After clicking on that button, this window opens. 

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

CAUTION: Make sure no element contains the value before deleting it; otherwise, the elements that contain this value will become empty. For more information, see this section.


Adding an Option to 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. 

Dymanic Drop-down Lists 006.png

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

B: Enter the value of the predefined option.


Modifying an Option of the Dynamic Drop-down List from the "Dynamic drop-down list management" 

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

Dymanic Drop-down Lists 007.png

A: Select the field of the drop-down list for which an option should be modified.

B: Enter the new value of the predefined option.

C: If this checkbox is checked, the new value entered at B will be assigned to the elements that contained the old value.

D: This is the number of elements in which the value to modify was specified. 


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.

Dymanic Drop-down Lists 008.png

A: This is the field of the dynamic drop-down list for which the option at B should be removed.

B: This is the value that will be removed from the predefined options.

C: If this checkbox is checked, all the elements that contain the value at B will become empty.

D: This is the number of elements in which the value to remove was specified. 

CAUTION: Make sure the number of items at D is down to 0 before deleting the value; otherwise, the elements that contain this value will become empty. 



Document name: Common functions:Dynamic Drop-down Lists