Skip to main content
12-Amethyst
April 21, 2023
Solved

Dropdown widget. Difference between Display Field, State Field, Value Field

  • April 21, 2023
  • 1 reply
  • 1008 views

Hi all,

This question seems super basic but I still don't quite understand the significant difference (e.g. in using) Display Field, State Field, Value Field in Drop Down widget.

Thanks in advance!

 

 

 

 

 

Best answer by jensc

Hello,

 

The difference between them is quite big.

The Display field:

The infotable field that represents the data value.

The Value field:

The field that is used for SelectedText.

The State field: 

The infotable that represents the state of the line items in the dropdown list.
This property can be used to enable or disable the line items in a dropdown list.

 

Basically you could see it as, what you put in the display field you will see in the dropdown, and what you put in the value field is the value that will be selected when selecting something in the dropdown.

 

I generally do not use the state field, so I can't really explain it in a good way.

 

Here is some more information about the dropdown if you want to read up on it more.

 

Regards,

Jens

1 reply

jensc17-PeridotAnswer
17-Peridot
April 21, 2023

Hello,

 

The difference between them is quite big.

The Display field:

The infotable field that represents the data value.

The Value field:

The field that is used for SelectedText.

The State field: 

The infotable that represents the state of the line items in the dropdown list.
This property can be used to enable or disable the line items in a dropdown list.

 

Basically you could see it as, what you put in the display field you will see in the dropdown, and what you put in the value field is the value that will be selected when selecting something in the dropdown.

 

I generally do not use the state field, so I can't really explain it in a good way.

 

Here is some more information about the dropdown if you want to read up on it more.

 

Regards,

Jens