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

From Logilys
Jump to: navigation, search
(Dynamic Drop-down List Management)
Line 1: Line 1:
{{Header_Common_Functions|1|4.7.3.4|Nadia Carrier||2014/12/19}}
+
{{Header_Common_Functions|1|4.7.3.4|Nadia Carrier||2015/22/21}}  
  
 
= 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.   
+
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".  
 
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".  
Line 16: Line 16:
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
There are 2 ways to specify a value in a dynamic drop-down list field:   
+
There are 2 ways to specify a value in a the field of a dynamic drop-down list:   
  
 
#It is possible to click on [[Image:Dynamic drop-down list button.png]] to select among the predefined options of the list.  
 
#It is possible to click on [[Image:Dynamic drop-down list button.png]] to select among the predefined options of the list.  
Line 37: Line 37:
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
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.  
+
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.  
  
 
|-
 
|-
Line 47: Line 47:
 
By clicking on "[[Image:Button cancel.png]] No", the value remains in the field, but is not added to the dynamic drop-down list.   
 
By clicking on "[[Image: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 [[Common functions:Dynamic Drop-down Lists#Dynamic_Drop-down_List_Management|this section]].    
+
'''NOTE:''' To define many new options, to modify or to remove certain options of the list, see [[Common functions:Dynamic Drop-down Lists#Dynamic_Drop-down_List_Management|this section]].    
  
 
|}
 
|}
  
<br>
+
<br>  
  
 
=== Removing a Value from the Predefined Option List from the Field&nbsp;  ===
 
=== Removing a Value from the Predefined Option List from the Field&nbsp;  ===
Line 66: Line 66:
 
Click on "[[Image:Button Check mark Confirm.png]] Yes" to confirm the removal of the value from the predefined options of the dynamic drop-down list.&nbsp;  
 
Click on "[[Image:Button Check mark Confirm.png]] Yes" to confirm the removal of the value from the predefined options of the dynamic drop-down list.&nbsp;  
  
'''NOTE:''' To delete many options or to modify or add certain options of the list, see [[Common functions:Dynamic Drop-down Lists#Dynamic_Drop-down_List_Management|this section]].&nbsp;  
+
'''NOTE:''' To delete many options, to modify or to add certain options of the list, see [[Common functions:Dynamic Drop-down Lists#Dynamic_Drop-down_List_Management|this section]].&nbsp;  
  
 
|}
 
|}
  
<br>
+
<br>  
  
 
== Dynamic Drop-down List Management  ==
 
== Dynamic Drop-down List Management  ==
Line 107: Line 107:
 
|-
 
|-
 
|  
 
|  
<span style="color: rgb(255, 0, 0);">'''C:'''</span> The [[Image:Button add plus.png]] button allows you to add a new predefined option to the list mentioned at&nbsp;<span style="color: rgb(255, 0, 0);">'''A'''</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.&nbsp;  
+
<span style="color: rgb(255, 0, 0);">'''C:'''</span> The [[Image:Button add plus.png]] button allows you to add a new predefined option to the list specified at&nbsp;<span style="color: rgb(255, 0, 0);">'''A'''</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.&nbsp;  
  
 
|  
 
|  
Line 117: Line 117:
  
 
|  
 
|  
'''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 [[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]]. <br>  
+
'''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 [[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]]. <br>  
  
 
|}
 
|}
Line 128: Line 128:
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
After clicking on the [[Image:Button_add_plus.png]] button, the following window opens.&nbsp;  
+
After clicking on the [[Image:Button add plus.png]] button, the following window opens.&nbsp;  
  
 
|-
 
|-
Line 148: Line 148:
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
After clicking on the&nbsp;[[Image:Button_Edit.png]] button, the following window opens.  
+
After clicking on the&nbsp;[[Image:Button Edit.png]] button, the following window opens.  
  
 
|-
 
|-
Line 175: Line 175:
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
After clicking on the [[Image:Button_Minus_remove_delete.png]] button, the following window opens.  
+
After clicking on the [[Image:Button Minus remove delete.png]] button, the following window opens.  
  
 
|-
 
|-
Line 188: Line 188:
 
|-
 
|-
 
|  
 
|  
<span style="color: rgb(255, 0, 0);">'''C:'''</span> If this checkbox is checked, all the elements that contain the value at <span style="color: rgb(255, 0, 0);">'''B'''</span> will be empty.  
+
<span style="color: rgb(255, 0, 0);">'''C:'''</span> If this checkbox is checked, all the elements that contain the value at <span style="color: rgb(255, 0, 0);">'''B'''</span> will become empty.  
  
 
|  
 
|  
Line 195: Line 195:
 
|-
 
|-
 
| colspan="2" |  
 
| colspan="2" |  
'''CAUTION:''' Make sure that the number of items at <span style="color: rgb(255, 0, 0);">'''D'''</span> is down to '''0''' before deleting the value; otherwise, the elements that contain this value will be empty.&nbsp;  
+
'''CAUTION:''' Make sure the number of items at <span style="color: rgb(255, 0, 0);">'''D'''</span> is down to '''0''' before deleting the value; otherwise, the elements that contain this value will become empty.&nbsp;  
  
 
|}
 
|}

Revision as of 14:35, 21 February 2015

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

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

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

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, 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". 

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