This little demo shows how to access an ID and a LABEL from a dropdown field. See more about accessing field properties here: Accessing field values and properties
ConfiForms Form Definition |
---|
|
sashINLINE ddChoicefalse[K800=Hotels|K800=Hotels general|K810=Project Sun|K710=Template|]select |
So, a simple dropdown, with choices:
id=label |
---|
K800=Hotels |
K800=Hotels general |
K810=Project Sun |
K710=Template |
List of stored values (showing dropdown field value in default mode)
Table with stored values and separate ID and label
So, we are using "dd.id" and "dd.label" to access each property of the dropdown field individually
ConfiForms TableView |
---|
|
dd.id dd.label |
Exported
yes, you can have your exports customized and also use the field properties when you export Data Export tricks and hints
Code Block |
---|
dd.id,dd.label
K800,Hotels general
K810,Project Sun |