# $Id: /local/CPAN/Mango/share/forms/users/create.yml 1644 2008-06-02T01:46:53.055259Z claco $
---
id: users_create
method: post
auto_fieldset: 1
javascript: 0
stylesheet: 1
sticky: 1
submit: BUTTON_LABEL_CREATE
fields:
- username:
type: text
size: 20
maxlength: 25
constraints:
- NOT_BLANK
- LENGTH, 1, 25
- UNIQUE
- password:
type: password
size: 20
maxlength: 255
constraints:
- NOT_BLANK
- LENGTH, 1, 255
- confirm_password:
type: password
size: 20
maxlength: 255
constraints:
- NOT_BLANK
- LENGTH, 1, 255
- SAME_AS, password
- first_name:
type: text
size: 25
maxlength: 25
constraints:
- NOT_BLANK
- LENGTH, 1, 25
- last_name:
type: text
size: 25
maxlength: 25
constraints:
- NOT_BLANK
- LENGTH, 1, 25
- email:
type: text
size: 30
maxlength: 150
constraints:
- NOT_BLANK
- LENGTH, 1, 150
- EMAIL
- UNIQUE