Révision 9df8b457
Ajouté par Assos Assos il y a presque 9 ans
drupal7/sites/all/modules/webform_validation/webform_validation.validators.inc | ||
---|---|---|
76 | 76 |
), |
77 | 77 |
'custom_data' => array( |
78 | 78 |
'label' => t('Minimum number of words'), |
79 |
'description' => t('Specify the minimum number of words that have to be entered to pass validation. Words are defined as strings of letters separated by spaces.') |
|
79 |
'description' => t('Specify the minimum number of words that have to be entered to pass validation. Words are defined as strings of letters separated by spaces.'),
|
|
80 | 80 |
), |
81 | 81 |
'description' => t('Verifies that a user-entered value contains at least the specified number of words.'), |
82 | 82 |
), |
... | ... | |
90 | 90 |
), |
91 | 91 |
'custom_data' => array( |
92 | 92 |
'label' => t('Maximum number of words'), |
93 |
'description' => t('Specify the maximum number of words that have to be entered to pass validation. Words are defined as strings of letters separated by spaces.') |
|
93 |
'description' => t('Specify the maximum number of words that have to be entered to pass validation. Words are defined as strings of letters separated by spaces.'),
|
|
94 | 94 |
), |
95 | 95 |
'description' => t('Verifies that a user-entered value contains at most the specified number of words.'), |
96 | 96 |
), |
... | ... | |
123 | 123 |
'textarea', |
124 | 124 |
'textfield', |
125 | 125 |
'time', |
126 |
'boolean', |
|
126 | 127 |
), |
127 | 128 |
'min_components' => 2, |
128 | 129 |
'description' => t('Verifies that all specified components contain equal values. If all components are of type email, they will get case-insensitive comparison.'), |
... | ... | |
159 | 160 |
'textarea', |
160 | 161 |
'textfield', |
161 | 162 |
'time', |
163 |
'boolean', |
|
162 | 164 |
), |
163 | 165 |
'min_components' => 2, |
164 | 166 |
'description' => t('Verifies that none of the specified components contain the same value as another selected component in this submission. (To check that values are unique between submissions, use the unique validation option on the "Edit component" page for that component.) If all components are of type email, they will get case-insensitive comparison.'), |
... | ... | |
173 | 175 |
'select', |
174 | 176 |
'textarea', |
175 | 177 |
'textfield', |
178 |
'boolean', |
|
176 | 179 |
), |
177 | 180 |
'custom_error' => TRUE, |
178 | 181 |
'custom_data' => array( |
... | ... | |
192 | 195 |
'select', |
193 | 196 |
'textarea', |
194 | 197 |
'textfield', |
198 |
'boolean', |
|
195 | 199 |
), |
196 | 200 |
'custom_error' => TRUE, |
197 | 201 |
'description' => t('Verifies that the user-entered value is the default value for that component. Negate if you want not the default value.'), |
... | ... | |
206 | 210 |
'select', |
207 | 211 |
'textarea', |
208 | 212 |
'textfield', |
209 |
'time' |
|
213 |
'time', |
|
214 |
'boolean', |
|
210 | 215 |
), |
211 | 216 |
'custom_data' => array( |
212 | 217 |
'label' => t('Number to be completed'), |
... | ... | |
373 | 378 |
), |
374 | 379 |
'description' => t('Validates that user-entered data doesn\'t contain any of the specified illegal words.'), |
375 | 380 |
), |
376 |
'username' => array( |
|
381 |
'username' => array(
|
|
377 | 382 |
'name' => t('Must match a username'), |
378 | 383 |
'negatable' => TRUE, |
379 | 384 |
'component_types' => array( |
Formats disponibles : Unified diff
Weekly update of contrib modules