You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/layer/form-widgets/index.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,11 @@ Here is an overview of widgets commonly used both in QGIS and the <MobileAppName
39
39
40
40
## Text
41
41
42
+
<YouTubeid="0Y5GKyjmfqo" />
43
+
42
44
Adding or editing text is the most common method for inserting information within the forms. In QGIS, the default widget for most types of fields is the **Text Edit**. It can be used for single line or [multiline](#multiline-text) text inputs.
43
45
46
+
44
47

45
48
46
49
In the <MobileAppNameShort />, the text can be entered manually or using voice-to-text (if your mobile device supports this feature).
@@ -73,6 +76,8 @@ In the <MobileAppNameShort />, the **multiline text edit widget** will look like
73
76
A QR code field is used in this public project: <MerginMapsProjectid="documentation/form-widgets" />. Download or clone it to see this setup.
74
77
:::
75
78
79
+
<YouTubeid="HptECoMY8ow" />
80
+
76
81
To be able to scan QR codes using your camera, the field name or the field alias has to contain the word `qrcode` (the text is not case sensitive, it can be in combination of lower or upper case letters).
77
82
78
83
In the <MobileAppNameShort />, there will be a QR code icon next to the field. Tap on it to scan the QR code using your camera and the content (a number, text, link, etc.) will be filled in automatically to your field.
@@ -88,6 +93,8 @@ This public project: <MerginMapsProject id="documentation/form-widgets" /> uses
88
93
89
94
Number fields can be handled by the **Range** widget. Two options are supported by the <MobileAppNameShort />: [editable range](#range) and [slider](#slider).
90
95
96
+
<YouTubeid="woZX3L33xh0" />
97
+
91
98
### Range
92
99
To set up the **editable range widget**:
93
100
@@ -125,6 +132,8 @@ In the <MobileAppNameShort />, the **Slider** looks like this. The number can be
125
132
Various options of setting up Date and Date&Time fields are included in this public project: <MerginMapsProjectid="documentation/form-widgets" />. Download or clone it to explore it in more detail.
126
133
:::
127
134
135
+
<YouTubeid="EoIqYIl4-Xk" />
136
+
128
137
**Date** or **Date and Time** fields can be used to record date and time. The most common use is to record when a feature was created or updated. This can be done manually or automatically by using [default values](../form-configuration/#default-values).
129
138
130
139
To set up the **Date/Time** widget:
@@ -164,6 +173,8 @@ Here are some examples:
164
173
Checkbox widget is used in this public project <MerginMapsProjectid="documentation/form-widgets" />. Download or clone it to see the setup.
165
174
:::
166
175
176
+
<YouTubeid="rtBdJzizdug" />
177
+
167
178
Checkbox field becomes handy when you want to set up a Yes/No, True/False or On/Off in your field.
168
179
169
180
If you have a field set as **Boolean** in your GeoPackage layer, QGIS assigns the checkbox widget type by default.
0 commit comments