<?php
/**
* error message array
*
* where the key corresponds to the error id in phalidators and the value is the error message to return to the UI
*/
$error = array (
10 => "data is not alpha",
20 => "data is not alphanumeric",
30 => "data is not filled in",
40 => "data is not numeric",
50 => "data is not a valid email",
60 => "data is not a valid date",
70 => "data is not a loose string",
80 => "data does not have specified value (and should)",
90 => "data does have specified value (and shouldn't)",
100 => "data is not a url",
110 => "data is not a valid time",
120 => "data is not a strong password",
130 => "data is not currency",
999999 => "undefined error"); // do not remove, this is the default error message
?>
|