Skip to content

Configure forms structure revision #626

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 22, 2025

Conversation

alex-cit
Copy link
Contributor

@alex-cit alex-cit commented May 30, 2025

Inital PR to integration branch.

Ready for review:
Overview
Widgets
Text
Date and Time
Numbers
Checkbox
QR code
Selecting single or multiple values

@alex-cit alex-cit requested a review from tomasMizera May 30, 2025 12:39
Copy link
Contributor

@tomasMizera tomasMizera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking forward to merging this! 🔝

Comment on lines +68 to +78
items: [
{ text: 'Text', link: '/layer/text/' },
{ text: 'Date and Time', link: '/layer/date-time/' },
{ text: 'Relations', link: '/layer/relations/' },
{ text: 'Numbers', link: '/layer/numbers/' },
{ text: 'Checkbox', link: '/layer/checkbox/' },
{ text: 'QR Code', link: '/layer/qr-code/' },
{ text: 'Selecting Single or Multiple Values', link: '/layer/value-select/' },
{ text: 'Photos', link: '/layer/photos/' },
{ text: 'Informational Widgets', link: '/layer/info-widgets/' },
] },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually, we add indentation when nesting deeper in structure. It is easier to read and review.

Suggested change
items: [
{ text: 'Text', link: '/layer/text/' },
{ text: 'Date and Time', link: '/layer/date-time/' },
{ text: 'Relations', link: '/layer/relations/' },
{ text: 'Numbers', link: '/layer/numbers/' },
{ text: 'Checkbox', link: '/layer/checkbox/' },
{ text: 'QR Code', link: '/layer/qr-code/' },
{ text: 'Selecting Single or Multiple Values', link: '/layer/value-select/' },
{ text: 'Photos', link: '/layer/photos/' },
{ text: 'Informational Widgets', link: '/layer/info-widgets/' },
] },
items: [
{ text: 'Text', link: '/layer/text/' },
{ text: 'Date and Time', link: '/layer/date-time/' },
{ text: 'Relations', link: '/layer/relations/' },
{ text: 'Numbers', link: '/layer/numbers/' },
{ text: 'Checkbox', link: '/layer/checkbox/' },
{ text: 'QR Code', link: '/layer/qr-code/' },
{ text: 'Selecting Single or Multiple Values', link: '/layer/value-select/' },
{ text: 'Photos', link: '/layer/photos/' },
{ text: 'Informational Widgets', link: '/layer/info-widgets/' },
] },


Detailed description of form widgets and form configuration can be found in the [Configure Form](../../layer/overview/) section.

### Settings for Mergin Maps mobile app preview panel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would make a good subpage, what do you think?

[[toc]]

Capturing field data often requires filling some attributes in the form to record the properties of surveyed points, lines or polygons. Attribute forms can simplify the data entry and even ensure to some extent that the correct information is filled in. Here, we will explore the possibilities of various <QGISHelp ver="latest" link="user_manual/working_with_vector/vector_properties.html#attributes-form-properties" text="QGIS widgets" /> that can be used in <MobileAppName />.

Extra configuration of attribute forms can be done to make data collection easier and more consistent, such as using default values, conditional visibility or constraint enforcement. These topics are covered in [Attributes Form Configuration](../form-configuration/) and [Attributes Form Layout](../form-layout/).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we had different names for the "Attributes Form Configuration" and "Attributes Form Layout", didn't we?

@tomasMizera
Copy link
Contributor

Actually, let me merge it to the integration branch. @alex-cit can you address the comments there? Thanks!

@tomasMizera tomasMizera merged commit 4f273dd into forms-refactoring Jul 22, 2025
2 of 8 checks passed
@tomasMizera tomasMizera deleted the configure-forms-structure-revision branch July 22, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants