Questions tagged [attribute-form]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
2answers
84 views

Getting unique values in a QGIS Expression

I'm using QGIS 3.4 attribute form to edit the widget type. I'm trying to retrieve "cab_no." field values (only unique values) from 'U_Cabinet' layer to use it in "fdt#" field in ...
1
vote
1answer
73 views

Value relation widget in QGIS

I would like to create a cascading select in QGIS using the value relations widget. I'm using QGIS 3.14 (pi) and all layers are stored in a geopackage. The geopackage shown in this example can be ...
2
votes
0answers
26 views

QGIS 3.10 Attribute form “default value” with current field values, but NOT update automatically

I want to have a default value from a current field (from another layer, but it is the same, when I use a current field from the current layer). And I DON'T want to update it automatically! After ...
1
vote
0answers
49 views

Container 'Control visibility by expression' for relations

I have two relations in a project on QGIS 3.10. They have the same field ('fid') of the parent but different fields ('topo_part';'topo_part_loc') of the same child. I want to see these relations in ...
2
votes
1answer
47 views

Debug In-dialog provided python code in QGIS attribute form 'Python Init Code Configuration'

In a QGIS layers attribute form configuration I have the following Python Init Code Configuration: Code in plain text: # -*- coding: utf-8 -*- from qgis.PyQt.QtWidgets import QWidget, QLineEdit ...
2
votes
1answer
57 views

Right-align attribute aliases in QGIS attribute forms

I have an attribute form created with QGIS 'Drag and drop Designer' that looks like this: As can be seen, the attribute aliases (the labels on the left) are little longer because of some explanatory ...
2
votes
1answer
147 views

Double cascading value relation in QGIS attribute form

I run a PostgreSQL database using QGIS as a frontend. I have a table in which I store archaeological finds related to sites. The finds-table has no geometry and just stores date. To be able to query ...