Welcome Guest, Not a member yet? Register   Sign In
form validation rule question
#1

[eluser]vps4[/eluser]
what different with

alpha_numeric
numeric
is_numeric
integer
is_natural
is_natural_no_zero

it seems they are same thing.

$lang['alpha_numeric'] = "The %s field may only contain alpha-numeric characters.";
$lang['numeric'] = "The %s field must contain only numbers.";
$lang['is_numeric'] = "The %s field must contain only numeric characters.";
$lang['integer'] = "The %s field must contain an integer.";
$lang['is_natural'] = "The %s field must contain only positive numbers.";
$lang['is_natural_no_zero'] = "The %s field must contain a number greater than zero.";


Messages In This Thread
form validation rule question - by El Forum - 06-13-2009, 12:28 PM
form validation rule question - by El Forum - 06-13-2009, 01:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB