_template

[[-module Redirect destination="http://scmapdb.com/%%parent_fullname%%"]]




%%title%%
Band type: %%form_data{type}%%
Band website: %%form_data{bandwebsite}%%
Is the band currently recording?: %%form_data{current}%%
%%form_data{tags}%%
%%form_data{parent}%%

%%parent_fullname%%

%%tags%%

[[-form]]
fields:
type:
label: Music type
type: select
values:
0: Classical
1: Country
2: Folk
3: Indie
4: Jazz
5: Pop
6: Rock
default: 6
bandwebsite:
label: Band website
type: url
current:
label: Currently Recording
type: select
values:
0: "Yes"
1: "No"
default: 0
welcome:
type: static
value: text welcome
filename:
label: Filename:
type: text
width: 50
match: /[^ ]/
name: nametest
tags:
label: Tags:
type: text
width: 50
match: /[^ ]/
default: %%tags%%
name: nametest
parent:
label: Parent Page:
type: text
width: 50
match: /[^ ]/
default: %%parent_fullname%%
name: nametest
textarea:
label: test_textarea:
type: textarea
rows: 4
cols: 20
default: textarea
title: Extra comments
maxLength: 500
origin:
label: Origin
type: pagepath
category: filename
versionb:
label: Fancy text field
type: wiki
rows: 4
cols: 20
versionc:
type: static
value: Non-storable field with with bold, strike and underline.
document:
type: file
label: Upload document
category: alternative-category
info_link:
type: url
default: ftp://example.com/files/
match-error: Custom error msg.
required: true
default-schema: ftp://
name-of-the-field: # Use a valid YAML name
label: Label # This is what the user sees
type: type-of-field # The field types
property: value… # Depending on the field type
city:
label: City
width: 20
postcode:
label: Postcode
width: 8
join: true
speed:
label: Car speed
width: 4
after: mph
name:
label: Your name
type: text
width: 30
comment:
label: Your comment
type: text
width: 50
height: 3
email:
label: email address
match: /^[_a-zA-Z0-9\-\+]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+$/
hint:rf.liam|nom#rf.liam|nom
your-mood:
label: Your mood
type: select
values:
1: manic
2: happy
3: calm
4: down
5: depressed
her-mood:
label: Her mood
type: select
values:
1: silent
2: chatty
onions:
label: Do you want onions?
type: checkbox
salami:
label: How about extra salami?
type: checkbox
default: 1
[[/-form]]

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License