Get the Id of the first value shown in combobox
Application Type
Traditional Web


How do you get the Id of the first value shown in combobox when you click it again in the options? I need to get the Id for validation. Thank you.

Hello Matanong,

Do you mean the id of the selected item?

Can you share your oml, explaining what you are trying to achieve?


If you use the Empty Text option of the drop-down you can customize the first value that is shown and the id of that value will always be an empty value ( depending on your variable type )  

If the Empty Text value is emty the first item of your list wi be associated with the first option. 

You can allways check the value of the variable when saving or on the OnChange Event

I will attach the oml so you can take a look.

Hope it helps! 

Paulo Rosário


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.