start on forms

This commit is contained in:
2022-12-09 00:53:15 +02:00
parent c669cf5cfe
commit 658efe8e53
11 changed files with 224 additions and 17 deletions

View File

@ -39,3 +39,13 @@
fields:
- header
- text
- template: form_field
header: A single field in a form
text: The header is the Name of the field, the description
serves as a placeholder.
fields:
- header
- text
options:
- compulsory
- form_type

View File

@ -67,3 +67,14 @@
Link must be a page name, ie only internal links allowed.
values:
default:
- name: compulsory
desciption:
Form fields may be compulsory or not. By default they are.
values: on off
default: off
- name: form_type
desciption:
Form fields may have a type for special handling. The default is text
but message would be a longer text, and email checked to be a name.
values: text message email phone date
default: text

View File

@ -73,3 +73,14 @@
header: Spacer
text: Just for extra padding
fields:
- template: form_section
header: Contact or other form
text: Flexible form, with input fields as "cards". Only choose form_field
as contained in the form.
cards: true
fields:
- header
- text
options:
- background
- color