[eluser]Docmo[/eluser]
Hi all,
I have w problem with the form validation.
Well, my website is in french, so i modified the validation_lang.php file in system/language...
Code:
$lang['required'] = "Le champs %s est requis.";
$lang['isset'] = "The %s field must have a value.";
$lang['valid_email'] = "Le champ %s doit contenir une adresse mail valide";
$lang['valid_emails'] = "The %s field must contain all valid email addresses.";
$lang['valid_url'] = "The %s field must contain a valid URL.";
$lang['valid_ip'] = "The %s field must contain a valid IP.";
$lang['min_length'] = "The %s field must be at least %s characters in length.";
$lang['max_length'] = "The %s field can not exceed %s characters in length.";
$lang['exact_length'] = "Le champ %s doit contenir %s caractères.";
$lang['alpha'] = "The %s field may only contain alphabetical characters.";
$lang['alpha_numeric'] = "The %s field may only contain alpha-numeric characters.";
$lang['alpha_dash'] = "The %s field may only contain alpha-numeric characters, underscores, and dashes.";
$lang['numeric'] = "Le champ %s doit contenir au moins un chiffre.";
$lang['is_numeric'] = "The %s field must contain a number.";
$lang['integer'] = "The %s field must contain an integer.";
$lang['matches'] = "The %s field does not match the %s field.";
$lang['is_natural'] = "The %s field must contain a number.";
$lang['is_natural_no_zero'] = "The %s field must contain a number greater than zero.";
I modified only the fields i've used, but the problem is, the page is still displaying these error messages :
The Titre field is required.
The Description field is required.
The Téléphone field is required.
The Courriel field must contain a valid email address.
The Ville field is required.
The Code postal field is required.
Do you guyz see any error ?
...