Skip to content

Commit 00b33f2

Browse files
authored
Merge pull request #614 from MerginMaps/yt-videos
add new yt videos - form widget
2 parents 65d956e + 7b8da91 commit 00b33f2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/layer/form-widgets/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ Here is an overview of widgets commonly used both in QGIS and the <MobileAppName
3939

4040
## Text
4141

42+
<YouTube id="0Y5GKyjmfqo" />
43+
4244
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.
4345

46+
4447
![QGIS Text Edit Widget Type](./qgis-form-text.jpg "QGIS Text Edit Widget Type")
4548

4649
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
7376
A QR code field is used in this public project: <MerginMapsProject id="documentation/form-widgets" />. Download or clone it to see this setup.
7477
:::
7578

79+
<YouTube id="HptECoMY8ow" />
80+
7681
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).
7782

7883
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
8893

8994
Number fields can be handled by the **Range** widget. Two options are supported by the <MobileAppNameShort />: [editable range](#range) and [slider](#slider).
9095

96+
<YouTube id="woZX3L33xh0" />
97+
9198
### Range
9299
To set up the **editable range widget**:
93100

@@ -125,6 +132,8 @@ In the <MobileAppNameShort />, the **Slider** looks like this. The number can be
125132
Various options of setting up Date and Date&Time fields are included in this public project: <MerginMapsProject id="documentation/form-widgets" />. Download or clone it to explore it in more detail.
126133
:::
127134

135+
<YouTube id="EoIqYIl4-Xk" />
136+
128137
**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).
129138

130139
To set up the **Date/Time** widget:
@@ -164,6 +173,8 @@ Here are some examples:
164173
Checkbox widget is used in this public project <MerginMapsProject id="documentation/form-widgets" />. Download or clone it to see the setup.
165174
:::
166175

176+
<YouTube id="rtBdJzizdug" />
177+
167178
Checkbox field becomes handy when you want to set up a Yes/No, True/False or On/Off in your field.
168179

169180
If you have a field set as **Boolean** in your GeoPackage layer, QGIS assigns the checkbox widget type by default.

0 commit comments

Comments
 (0)