Dropdown

Yeeflow team
Yeeflow team
  • Updated

The Drop Down field control enables your users to select a value from a predefined set of choices that are displayed in a dropdown menu.

 

Drop_Down_List_Overview.jpg

 

When to use this field?

You may consider the following pointers to determine when to use a drop down field:

  • Opt to use a drop down field if the data that you want to enable your users to enter spans a defined set of choices, and only one of these choices can be present per entry (or record).
  • The radio field also enables your users to select a value from a predefined set of choices. Where the drop down and radio fields differ is the way the choices are displayed when your users access them on a web-browser: in a dropdown menu and as radio buttons, respectively. 
  • If you want to enable your users to select multiple values, you must opt to adding a multi select or checkbox field to your form.
  • If you want to create a dynamic picklist, i.e., if you want to provide an initial set of choices to select from, but want to accommodate the growth of this set, then you must opt to using a lookup field control.

Character limits

A choice displayed by the drop down field contain up to 255 characters. In other words, the drop down field can store an input that has up to 255 characters.

 

Add Dropdown field control to the form

Firstly, find the Dropdown control in the controls add panel. Then, drag and drop it into a section or container on your form.

Drop_Down_List_Add.jpg

 

Basic of the Dropdown field

Open the Content > Basic block and set the Title's text of this Multiple Metadata control. For more information about Title for field control, please refer:

Understand the Title of field controls

Set the Associated variable for this Dropdown control. When you add a new Dropdown control, a default variable will be generated automatically. You can click the Edit Button to change the ID and name, or click the Reset button to bind this Dropdown control to other existing variables. For more information, please refer:

Understand form controls and the associated variables / fields

Drop_Down_List_Basic.jpg

 

Appearance of the Dropdown field

Open the Content > Appearance block to set the appearance and layout of this Dropdown control.

Placeholder: Set the text of the placeholder for this Dropdown.

Display Title: Choose display or hide the label of this control. For more information, please refer: Understand the label of field controls

Allow comment: Turn on this option will allow users to add comments on this control.  

Dynamic Display Rules:  When you set a dynamic display rules, It behaves differently based on specific conditions and rules. Learn how to create dynamic display rules for a control.

Drop_Down_List_Appearance.jpg

 

Choices of the Dropdown field

Open the Content > Choices block to add choices, edit a choice, and delete a choice.

  • Define the order in which the choices are displayed: You can drag a choice to arrange the choices manually in the required order.
  • Rename the values provided as choices in your drop down field
  • Set an initial value: Click the radio button at the beginning of each choice to set it as the initial value for a drop down field. The Initial value will be preselected when your users access your form. Setting an initial value does not restrict your users from removing it or selecting a different choice from the dropdown.
  • Click the clear default button to remove the initial value.

Drop_Down_List_Choices.jpg

 

Validation of the Dropdown field

Open the Content > Validation block to set the properties of this Dropdown control.

Readonly: Turn this ON will make this field control as view only status. 

Required: Make it mandatory for your users to enter an input in this field.

Custom Validation: Set the custom validation rules. An error message that will display under your field when specified conditions become true. It will allow you to add any number of rules for validating your field. Learn more about the Custom Validation.

Drop_Down_List_Validation.jpg

 

Action call of the Dropdown field

Open the Content > Action block to call a pre-defined action from the dropdown list. This action will be triggered once the value of this Dropdown field is changed.

Textbox_action.jpg

 

Style the Dropdown field

Field - Editable

Open the Style > Field - Editable block to set the styles of the field control for it's editable status.

  1. Typography: Set the typography options for the text in the field.
  2. Normal / Focus: Set different styles for normal state and focus state of the dropdown list. Styles below are supported to be set separately for Normal and Focus state.
    • Color: Choose the color of the dropdown list items text.
    • Background Color: Set background color of the dropdown list. By default, the background color is set as transparent.
    • Border Type: Select the type of border, choosing from none, solid, double, dotted, dashed, or grooved.
    • Radius: Set the border radius to control corner roundness.
    • Shadow: Adjust box shadow options

    Drop_Down_List_Style_Editable.jpg

  3. Placeholder Color: Choose the color of the placeholder text.
  4. Align: Set the alignment of text inside the field control. Can be LeftCenter or Right
  5. Padding: Set the Padding of the field control.
  6. Field Width: Set the width of the field control in PX or %.
  7. Field Alignment: Set the alignment of the field control. This will only be effected when the field width is less than the outside container.
  8. Error Message: Set the styles of the error message, 
    • Typography: Set the typography options for the error message.
    • Color: Choose the color of the error message's text.

 

Dropdown

Open the Style > Dropdown block to set the style of the dropdown list items (choices). 

  1. Typography: Set the typography options for the text of dropdown list items.
  2. Align: Set the alignment of text inside each of the dropdown list items. Can be LeftCenter or Right
  3. Padding: Set the Padding of the dropdown list items.
  4. Normal / Hover / Active: Set different styles for normal state hover and active state of each dropdown list items. Styles below are supported to be set separately for normal, hover and active state.
    • Text Color: Choose the color of the list items' text.
    • Background Color: Set background color of the drop down list. 
    • Border Type: Select the type of border, choosing from none, solid, double, dotted, dashed, or grooved.
    • Radius: Set the border radius to control corner roundness.
    • Shadow: Adjust box shadow options

Drop_Down_List_Style_Dropdown.jpg

 

Field - Read Only

Open the Style > Field - Read Only block to set the styles of the field control for it's view only status.

  1. Typography: Set the typography options for the text in the dropdown field.
  2. Color: Choose the color of the field's text.
  3. Background Color: Set background color of the field. By default, the background color is set as transparent.
  4. Align: Set the alignment of text inside the field control. Can be LeftCenter or Right
  5. Padding: Set the Padding of the field control.
  6. Border Type: Select the type of border, choosing from none, solid, double, dotted, dashed, or grooved.
  7. Radius: Set the border radius to control corner roundness.

 

Style of title

Set the Title of field controls that are applicable to this control.

 

Advanced Settings

Set the Advanced options that are applicable to this control.

 

 

Was this article helpful?

/

Comments

0 comments

Please sign in to leave a comment.