form.yaml
Copy
version: 1
title: "Example form"
description: "A comprehensive url example."
sections:
- id: section_1
title: "Section 1"
fields:
- id: question_1
type: url
label: "Question 1"
placeholder: "https://example.com"
validators:
- required
- type: pattern
regex: "^https://"
message: "Use an HTTPS URL."
- type: max_length
value: 200
message: "Keep the URL under 200 characters."
next: done