Skip to content

Commit 2ccabeb

Browse files
alex-cittomasMizera
authored andcommitted
html and text widgets link, possible duplicate content
1 parent 3bf960f commit 2ccabeb

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/layer/display-instructions/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Display instructions in the form using Text and HTML widget
1+
# How to Display Instructions in the Form
2+
The HTML and Text widgets can be used to display instructions in the form, as described in [Informational Widgets ](../info-widgets/).
3+
24
Sometimes, you may want to include instructions or tips for surveyors in your forms. <QGIS link="" text="QGIS" /> offers Text and HTML widgets that can be used for this purpose. Your text instructions can include [expressions and field values](#using-expressions-in-text-and-html-widgets) as well. The HTML widget supports various [HTML tags](https://doc.qt.io/qt-6/richtext-html-subset.html#supported-tags), so it can be also used, for instance, to display [online images](#using-html-widget-to-display-online-images-and-other-online-resources).
35

46
These widgets can be found in **Available Widgets** in the **Other Widgets** section when using the [Drag and Drop Designer](../form-layout/#qgis-drag-and-drop-designer).

src/layer/embed-image/index.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
# How to Embed an Image
2-
The [**HTML widget**](/info-widgets/) can be used to display online images in the <MobileAppNameShort />.
2+
[[toc]]
3+
4+
5+
## Photo
6+
A photo can be displayed in the form as described in [Displaying photos in QGIS](../photos/#displaying-photos-in-qgis).
7+
8+
## Online image
9+
The [**HTML widget**](../info-widgets/) can be used to display online images in the <MobileAppNameShort /> as described in [Using HTML widget to display online images and other online resources ](../info-widgets/#using-html-widget-to-display-online-images-and-other-online-resources)
310

411
::: tip Example project available
512
Clone <MerginMapsProject id="documentation/forms-display-images-and-files" /> to how this works.
613
:::
714

8-
915
Your layer should contain a text field for storing the full URL link (here: `link`).
1016

1117
To show an online image in the form, configure the HTML widget with this expression (replace `link` with the name of the appropriate field in your layer):

0 commit comments

Comments
 (0)