Skip to main content

Questions tagged [forms]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
61 views

QGIS/QField sample collection

I have a project in QGIS to register field points (x,y), where I collect different types of samples (soil, water, rock) for the same point. I need that in the "Amostras" table, when some ...
Denilson's user avatar
  • 695
3 votes
1 answer
145 views

How to display and select features within a radius in a QGIS form widget?

Problem: I need a form widget that displays and allows the multi-selection of features from a layer ("POIs") within a defined radius (e.g., 3000m). Ideally, the features should be sorted by ...
MartinMap's user avatar
  • 8,396
2 votes
1 answer
102 views

QGIS Forms Range Widget steps

I am trying to use the range widget in QGIS attribute forms to allow the user to enter values in steps on 0.25 so values of (0.25,0.5,0.75,1,1.25...) The settings above result in values of 0.49, 0.74,...
Sethinacan's user avatar
  • 2,002
3 votes
1 answer
698 views

QGIS Attribute Form -> Value Relation -> Filter expression: expressions or functions to get the names of current layer and current field

Shortcut to the core question: How to write a custom function to get the name of a field in an Attribute Form? I would like to use it as a variable in a Filter expression of a field with a Value ...
Bernd V.'s user avatar
  • 3,239
3 votes
1 answer
117 views

Filter Value Relation dropdown list based on canvas visibility/zoom level in QGIS 3.28

I have a point feature (Pontos_de_monitoramento) and another non-spatial table (ficha_campo). I am adding new features to the non-spatial table (ficha_campo) and one of the fields to be filled in is ...
Denilson's user avatar
  • 695
1 vote
0 answers
146 views

Arcade Expression for radio button in ArcGIS Field Maps

I'm trying to set a field in a pop up that appears when a feature is clicked. The attributes show up in the pop up and then one must hit the edit icon which brings the form view for the feature up on ...
geoJshaun's user avatar
  • 1,335
1 vote
1 answer
88 views

Using widgets multiple times in QGIS form independently

I am using QGIS to set up a Form to collect data using QField. The form is to use Containers with similar Widgets such as Date and Photo. If I use the same Date widget in two separate containers, they ...
johng's user avatar
  • 21
0 votes
0 answers
39 views

Adding features from GeoJSON in hidden form field in OpenLayers?

I have an HTML form that includes some maps where the user can add features. The data is being saved in a hidden form field as GeoJSON. Example (simplified id and name attributes): <input type=&...
winnewoerp's user avatar
  • 1,569
1 vote
0 answers
42 views

QGIS: Value relation forms

Is it possible to set default value to parent, based on child entry? I know how to do it from parent to child, but I want to do it in reverse. I have two CSV files with values. First I want to edit ...
Dean7's user avatar
  • 358
0 votes
0 answers
25 views

Get Geometry of Inserted Point [duplicate]

Description I have a project that must create default values in fields when he is trying to insert a new feature. As shown in the figure beneath. I'm using PyQGIS 3.28 Problem In the image below, ...
Diogo Barros's user avatar
0 votes
1 answer
76 views

Geometry of recently created point

Description I am currently working on a project that requires the creation of default values in certain fields when attempting to insert a new feature. This operation is illustrated in the figure ...
Diogo Barros's user avatar
3 votes
1 answer
218 views

Set default value attributes form PyQGIS

I'm trying to change an field to a default string everytime an polygon is created in attributes form. For now I have seen Alexandro code and based on that I have something like this: layername = "...
Diogo Barros's user avatar
3 votes
1 answer
300 views

How to recover parent value while creating parent and child layers in a embedded forms setup?

I read the documentation, examples and made many attempts, but I still can't make this work. What I want is to get a value from a parent layer while editing a child layer, when both features are being ...
Horizen's user avatar
  • 577
2 votes
0 answers
105 views

Coded Values/ Domain like with GeoServer and PostGIS

Coded Values in oralce SDE are exposed trough ArcGIS Server as Coded Values in the REST API. This ArcGIS Server REST API can provide the coded values to a webmap client to create a form with a drop ...
jlSta's user avatar
  • 1,096
3 votes
0 answers
232 views

In QGIS 3 forms, QML button shows when photo is missing, but not when it is present

In QGS (3.28.4 LTR), I'm trying to add a QML button to a form that will open the attached photo when pressed, but have encountered the problem that the button appears when the attachment field happens ...
Avery Andrews's user avatar
0 votes
0 answers
64 views

QGIS Countdown timer

Looking for a solution to implement a countdown timer that allows to report the column of a table with the time value at the same time that a new point geometry is entered. The idea would be to ...
Acperience's user avatar
  • 1,152
1 vote
0 answers
16 views

Creating table rows for measurements in forms

I have a question about forms combined with tables. I'm trying to create a form which allows me to add multiple rows of data to a point e.g. I want be able to create multiple rows and fill these in ...
masterd212's user avatar
2 votes
0 answers
323 views

QGIS Linking multiple layers in polymorphic relationship

I am creating a tree survey system in QGIS. There will be three geometry layers (called 'Single Trees', 'Line of Trees & Hedges', 'Groups of Trees') and each of those layers has a 'TreeUUID' field ...
Nathan's user avatar
  • 157
4 votes
1 answer
311 views

Attributes Form -> show description-column but write value-column

Concerning value Relation Forms: I'd like to show the content of a description field in the dropdown menu, but write the content of the value field. Sure, with the mouse-over effect, it will show me ...
notger's user avatar
  • 41
1 vote
2 answers
971 views

Creating survey form for Qfield for inputting flora species (and quantity) and in zones

I have been using QGIS off and on for a few years but only for basic stuff. I need to design an easy to use form within Qfield for the botanists to use. We need to survey flora species (>300) of ...
Island Lescure's user avatar
6 votes
1 answer
272 views

Field with list of value, use in reports

(QGIS 3.22.4) In the attribute table of a shapefile, I have a field with a list of values in the form. I am preparing a report, and I want to print the description of the value, not the value. When I ...
ClaudeVer's user avatar
  • 630
2 votes
1 answer
419 views

QGIS Forms Filter - A distance filter expression to select features of a layer from current geometry

So, I have a layer with an attribute contact, and I want to join these features with feature of the current geometry - so it selects all whose distance is less than 150. I currently have a list of all ...
umair mughal's user avatar
2 votes
1 answer
361 views

Where to enter values for QGIS classification widget type

How can I generate a form in QGIS where I have several options for a column as predefined possibilities? So in my case I want to create a column where the values local, regional and global are allowed....
Lenn's user avatar
  • 1,379
3 votes
0 answers
428 views

QGIS custom form : mixing Qt Widgets and QtQuick QML Widgets

On QGIS 3.16 I am trying to create a custom form with some Python logic for feature navigation and a QML widget to display nicely images. I embedded my QtQuick QML file in the custom form python file ...
Fuzl's user avatar
  • 93
5 votes
1 answer
1k views

QField - create a form for multiple, 1:n photos

I have read the QField support on how to add a series of pictures to a feature. I've also read other threads and GIS Stack Exchange questions and answers on this: e.g., Setting QField for 1:n photos. ...
Mark Thompson's user avatar
1 vote
2 answers
419 views

Answers to be filled in by default with an expression doesn't work in QFIELD

I have set up a project in QGIS with default expressions which takes data from other fields previously filled in and automatically generates a value. It works fine when filling a form into QGIS but it ...
Serggg182's user avatar
  • 621
3 votes
2 answers
812 views

Adding number of months (as integer) to date format in QGIS

I am creating a form for QFIELD in a QGIS project. I have three fields: Date of today ([$now]), as a date format, Number of months allocated for a certain task, as an integer The due date for this ...
Serggg182's user avatar
  • 621
11 votes
1 answer
7k 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 ...
Oliver Burdekin's user avatar
1 vote
1 answer
95 views

Join/relation not an available widget option in the attributes form?

I cannot figure out why, but, in a tree/planting projects database, I have a fairly simply data model where I have one polygon layer to symbolize the area/project (eg. Maple Oak Park, John Smith ...
Robert's user avatar
  • 43
0 votes
0 answers
138 views

Maintaining Form Designs with one Geopackage to Multiple Different Projects

I work for an Archaeological consulting company in Australia and one of the major parts of our job is to go out and survey for aboriginal heritage sites before constructions can be approved. The ...
WillAustral's user avatar
0 votes
0 answers
48 views

Custom form in ArcMap 10.6

Does anyone know the easiest method to create a form in ArcMap 10.6 similar to that available in QGIS for collecting data on a particular feature? (Is it even possible in ArcMap?) My example is ...
JohnF's user avatar
  • 395
5 votes
1 answer
560 views

Preselecting value in relation value widget using PyQGIS

I am redesigning my years old form for collecting data in ornithologic field surveys because I finally want to update my tablet for field work from QGIS 2.8 to QGIS 3.10. One attribute contains a ...
oekoplaner's user avatar
0 votes
0 answers
220 views

Creating a dynamic drop-down list based on an array expression

Would it be possible in a QGIS form to create a list of values with the array() function in the expression builder? This array would change, depending on different conditions. The Value Relation ...
LeoC's user avatar
  • 547
12 votes
2 answers
863 views

QGIS form performance

Edit: tl;dr QGis apparently casts my primary key on postgresql to text when using the identify tool. This causes the form to be slow in startup because it disregards the index on it. A (tested) quick ...
Lennert De Feyter's user avatar
2 votes
1 answer
715 views

Text or tooltip for QGIS drag and drop form designer

Is there a way, to add tool tips or a simple text next to a field widget in QGIS forms drag and drop designer? I would like to provide more information about some fields (restrictions, expected value ...
MartinMap's user avatar
  • 8,396
2 votes
0 answers
413 views

Add Action (-Button) to Attributes Form (QGIS)

Is it possible, to simply add a Action to a Attribute Form (Drag'n Drop Designer)? I know, I could use the QT-Designer and Python, but I'm looking for a fast and simple way without python knowledge. ...
MartinMap's user avatar
  • 8,396
9 votes
1 answer
3k views

QGIS forms : field display based on the value of another field

I have a form designed in QGIS 3.8.1. The form is associated with a layer for inputting data. Many of the fields on the form are only relevant if the first field is equal to True. Example: Field 1: ...
Bid19's user avatar
  • 325
1 vote
0 answers
91 views

Saving a form .ui file with relative path?

My company uses QGIS 2.18 (soon to upgrade to 3.4) and I've designed a form to make data entry for our survey field staff a little less hateful. The .ui file is saved on a network drive, and as long ...
Marty Rocks's user avatar
3 votes
0 answers
197 views

QGIS 3 embedded forms - zoom or pan to child features

I have two tables and a relation defined on them via an 'in-between-table' (many-to-many relationship) like this: This gives me nice embedded forms like shown below: What I would like to achieve is ...
Jochen Schwarze's user avatar
0 votes
0 answers
2k views

QGIS Value Relation filter

Let's say I have 3 layers: point layer (columns: id, group), table layer named materials (columns: point_id, mat_id), table layer named mat_list (columns group, mat_id). There is relation between ...
asham's user avatar
  • 11
1 vote
1 answer
1k views

Adding combo box to QGIS attributes form

I want to customize attributes form in QGIS 3.6 with a combo box which will fill with a predefined value. I found on the web examples but with the version 2.x or with Python code. This last solution ...
vcloarec's user avatar
  • 153
3 votes
1 answer
314 views

Switch between raw field values and displayed values in the attribute table?

When working with the attribute forms value map or value relation i have found no way to switch between raw field values and displayed values in the attribute table (neither in the project properties ...
loopo's user avatar
  • 31
1 vote
0 answers
79 views

QGIS how to make options in valuemap invisible when outside constraint

I am making a geopackage to plan aids to navigation in a maritime environment. I have made the design of my attributes form with the drag/drop designer. The constraints I put in work i.e. If i choose ...
CaptainAhab's user avatar
  • 1,032
7 votes
3 answers
2k views

Import own modules in custom forms in PyQGIS

I want to create my own custom forms using Python for QGIS, and since some of the forms will share some definitions and objects I would like to have my own classes for all of them. For that, when I ...
Luismi's user avatar
  • 1,005
1 vote
2 answers
2k views

Dynamic reports for QGIS?

I'd like to find a function or plugin for QGIS that displays vector data in a dynamic report. For example, I have a point vector layer "sample plots" that consists of 4 fields: ID, plot-number, ...
OnTheSurface's user avatar
2 votes
0 answers
619 views

Is it possible to auto rotate images in the photo widget?

If I use the photo widget in the default QGIS form images are not auto rotated according to their exif rotation. Is there a way to show rotated images? The correct way to display the image according ...
Thomas B's user avatar
  • 8,936
3 votes
1 answer
5k views

Autosize custom form window to its content

I've created several custom forms using Qt Designer. My problem is that when I open a form, its window size remains the same as the size of the window of the last form I opened. For example, let's say ...
Mefimefi's user avatar
  • 586
4 votes
1 answer
1k views

Adding image in Feature Attributes Form in QGIS?

I am looking for a way to show icon or image in QGIS Feature Attribute Form. I'm showing Equipment in Rack and if it is for example: 1. switch = show some icon 2. router = show different icon etc ...
nedic.darko's user avatar
2 votes
4 answers
4k views

How to edit an attribute while editing a feature?

I have several polygons to edit / modify and I want to modify some fields in the attribute table at the same time. I have the table open, but I do not see where the attributes of the polygon I'm ...
Carlos Pires's user avatar
  • 1,135
0 votes
1 answer
47 views

ArcPad Form Compatibility with previous versions?

Are forms created in ArcPad Studio 10 compatible with previous editions of ArcPad? I have lots of units loaded with ArcPad 7 and no way to get custom forms on them (I lack ArcPad Studio or ...
Andrew Saunders's user avatar