Common functions:Dynamic Drop-down Lists

From Logilys
Revision as of 19:04, 20 February 2015 by Ncarrier (talk | contribs) (Dynamic Drop-down List Management)
Jump to: navigation, search

Template:Header Common Functions

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. 

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

Dymanic Drop-down Lists 001.png

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

  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 was not part of the predefined option list, the following window opens.

Dymanic 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 or to modify or 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. 

Dymanic 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 or to modify or 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". 

Dymanic 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.

Dymanic 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 mentioned 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 be 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 be empty.

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

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



Document name: Common functions:Dynamic Drop-down Lists