methods: [post]

fields:

  captcha:
    required:
      msg:             Security code required
    sfCryptographpValidator:
      code_error:      Security code incorrect. Die, bot, die!

  username:
    required:
      msg:             The username field cannot be left blank
    sfStringValidator:
      min:             3
      min_error:       This username is too short (3 characters minimum)
      max:             20
      max_error:       This username is too long (20 characters maximum)
    sfBlacklistValidator:
      blacklist:       [admin, leto, leto115, contact, info, infos, commercial, tech, support, sales, partnership, webmaster, business, owner]
      case_sensitive:  no
      trim:            yes
      blacklist_error: The username you requested is not available
    sfRegexValidator:
      match:           yes
      match_error:     Your username should contain only alphanumeric, dash, dot or underscore characters, and begin with a letter.
      pattern:         "/^[a-zA-Z]([a-zA-Z0-9._-]+)$/"
    sfPropelUniqueValidator:
      class:           sfGuardUser
      column:          username
      unique_error:    This username is not available

  email:
    required:
      msg:             The email field cannot be left blank
    strongEmailValidator:
      strict:          true
      email_error:     This email address is invalid
      check_domain:    true
      domain_error:    The domain provided in the email address does not seem to be correct
    sfPropelUniqueValidator:
      class:           sfGuardUserProfile
      column:          email
      unique_error:    This email address already exists in the database

  password:
    required:
      msg:             The password field cannot be left blank
    sfStringValidator:
      min:             6
      min_error:       This password is too short (6 characters minimum)
      max:             20
      max_error:       This password is too long (20 characters maximum)
    group:             password_group

  password2:
    required:
      msg:             The confirmation password field cannot be left blank
    group:             password_group
    sfCompareValidator:
      check:           password
      compare_error:   The two passwords do not match