I want to show a drop down list in the feature attributes dialog.

I have three different building zones. The hot Wohnzon A, B residential zone and residential zone C. Now I have an attribute called the "Zonenart". Now I track a new zone. And instead of the attribute "Zonenart" write something purely by hand, I want to be able to select it directly. How can I achieve this?

  • @Mapperz I wouldn't close it just yet. Creating a custom form isn't really needed just for a drop down list.
    – Nathan W
    Jul 19, 2012 at 13:09
  • Reopened on Nathan W's request.
    – Mapperz
    Jul 19, 2012 at 13:14

2 Answers 2


Open the layer properties dialog and select the fields tab, click the button in the Edit Widgets column for the field and select Value Map

enter image description here

which will then give you this when using the info tool

enter image description here

  • 1
    Very good answer. Exactly what I was looking for. Thank you very much
    – user8839
    Jul 20, 2012 at 5:59

For QGIS 3:

Right mouse click over the layer, and then proceed with Layer Properties > Attributes Form > Fields > [field name].

Under "Widget Type", choose "Value Map" in the drop down.

Widget Type

Not the answer you're looking for? Browse other questions tagged or ask your own question.