diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/form-paged/fields/second.toml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/form-paged/fields/second.toml b/templates/form-paged/fields/second.toml index bbc6ea7..cdeb9f0 100644 --- a/templates/form-paged/fields/second.toml +++ b/templates/form-paged/fields/second.toml @@ -1,3 +1,17 @@ [field.text] placeholder = "Text placeholder" +[field.text.validation] +pattern = "\\w+" + +[field.manythings] +type = "select" + +[field.manythings.options] +first = "First level" +second = "Second level" + +[field.multiplethings] +type = "checkbox" +options = ["thing-1", "thing-2", "thing-3"] + |