Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (60 sloc) 1.23 KB
---
load_config_file: __path_to(root/forms/defaults.yml)__
id: register
elements:
- type: Text
name: login
label_loc: Login
filters:
- HTMLEscape
- LowerCase
- TrimEdges
constraints:
- Required
- Word
- type: Password
name: pass
label_loc: Password
constraints:
- Required
- type: Equal
others: confirm_password
message_loc: Password did not match
- type: Length
min: 4
max: 14
message_loc: Password must be between 4 and 14 chars
- type: Password
name: confirm_password
label_loc: Repeat password
- type: Text
name: email
label_loc: Email
filters:
- HTMLEscape
- TrimEdges
constraints:
- Email
- Required
- type: Text
name: name
label_loc: Name
filters:
- HTMLEscape
- TrimEdges
constraints:
- Required
- type: Text
name: antispam
label_loc: What is this wiki powered by (look at the bottom; 8 letters, all lowercase)?
filters:
- HTMLEscape
- TrimEdges
constraints:
- Required
- type: Regex
regex: mojomojo
message_loc: Go away spammer!
- type: Submit
name: submit
value_loc: Register
Jump to Line
Something went wrong with that request. Please try again.