Show the description of an attribute while creating features in QField

Hello,

I want to give my form configuration the possibility to get more information, while collecting data. I’ve created an expression in the description, but I can’t find a way to show the description in QField (hovering seems to be not possible). It is only shown while hovering in QGIS.

Perhaps somebody more experienced with descriptions in QField could help me? :smiley:

What is the widget type that you use for T1 Zusatzmerkmale?
And could you share a screenshot of your Attributes Form for this item?

Is a value relation. I could attach only one picture to my first post.

Ah, yeah. The value relation widget does not have a Description column like in the Value Map widget. I believe it used to be part of the value relation widget some years ago.
The description column would have replaced your values with the respective description for the user to see and then written the value, not the description, into the table.

So ‘Beschreibung’ will only give a pop-up, which I think QField is not able to show.

A workaround could be:
change the table with the ‘Wertspalte’ values so it contains the description values instead.
If you then need a short version in your dataset for analysis purposes, you can create a new column with an expression that automatically adds a short value based on the value chosen in your column Zusatzmerkmal. You can leave that new column out of your form or set it to hidden.

thanks for the respose, i hoped that i wouldn’t need to create another column but that seems to be the case.

HI @cedric_RaUm,
I made a mistake in my reply.

The Value Relation widget and the Value Map widget both do have the option to ‘show’ a descriptive value in stead of the real value saved to the dataset.
In Value Map this is fairly obvious from the naming; you have an entry for Value (the data stored) and Description (the data shown).

However, in the Value Relation Widget this is less obvious.
You have a Key column (data stored) and a Value column (data shown).

Then, in the Filter, you apply a filter to the Layer referenz_zm_drachenfels using the field obergruppe and inserting the value which is the current_value for for the field t1_obergruppe. This filter will then give you access to only those features in referenz_zm_drachenfels where obergruppe = that current value in t1_obergruppe

Improvement:
So, in your screenshot, Schlüsselspalte should not be obergruppe but another field, probably zusatzmerkmal_symbol (is this with the square symbol?) or just zusatzmerkmal (is this just a number) and Wertspalte can be the same as Schlüsselspalte (what you see is what is actually being stored) or be beschreibung_zusatzmerkmal.

With the current settings in your screenshot, the value for obergruppe is now being stored in the field T1 Zusatzmerkmale and the corresponding zusatzmerkmal_symbol is what is shown in the attribute table. And that is probably not what your intention is; the wrong data is saved to the dataset.