summaryrefslogtreecommitdiffstats
path: root/apps/admin/modules/user/validate/settings.yml
blob: 0706d5375069d45636a5138295322fa368537732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
fillin:
  enabled:            true
  param:
    exclude_types:     [password]

validators:
  myStringValidator:
    class:            sfStringValidator
    param:
      min:            2
      min_error:      This field is too short (2 characters minimum)
      max:            100
      max_error:      This field is too long (100 characters maximum)

fields:
  nickname:
    required:
      msg:           Your Username is required
    sfStringValidator:
      min:           5
      min_error:     Username must be 5 or more characters
    myChangeNicknameValidator:
      change_error:  This Username does already exist

  first_name:
    myStringValidator:
  last_name:
    myStringValidator:

  email:
    required:
      msg:           Your must provide an E-Mail Address
    myStringValidator:
    sfEmailValidator:
      email_error:   This E-Mail Address is invalid

  password1:
    group:           password_group
  password2:
    group:           password_group
    sfCompareValidator:
      check:         password1
      compare_error: The two passwords do not match