-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmessages.php
21 lines (21 loc) · 1.24 KB
/
messages.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/*
* Form Validation
* By microMVC
*/
$msg=array();
$msg['validation_no_rules'] = 'The %s field does not contain a valid rule (%s)';
$msg['validation_rule_not_found'] = 'The %s form rule was not found.';
$msg['validation_set']= 'The %s field must be submitted.';
$msg['validation_required'] = 'The %s field is required and cannot be empty.';
$msg['validation_alpha'] = 'The %s field may only contain alphabetical characters.';
$msg['validation_alpha_numeric'] = 'The %s field may only contain alpha-numeric characters.';
$msg['validation_numeric'] = 'The %s field must contain only numbers.';
$msg['validation_min_length'] = 'The %s field must be at least %s characters in length.';
$msg['validation_max_length'] = 'The %s field can not exceed %s characters in length.';
$msg['validation_exact_length'] = 'The %s field must be exactly %s characters in length.';
$msg['validation_valid_email'] = 'The %s field must contain a valid email address.';
$msg['validation_valid_base64'] = 'The %s field must contian valid Base 64 characters.';
$msg['validation_matches'] = 'The %s and %s fields do not match.';
$msg['validation_invalid_token'] = 'Your session token was invalid. Please try again.';
$msg['validation_email'] = 'The %s field not contain valid e-mail.';