I guess it might be possible with javascript. At the very least, you can do
a validation client-side for numbers only before submitting.
Justin.
on 11/02/03 5:27 AM, Edward Peloke ([EMAIL PROTECTED]) wrote:
> IS there a way to only allow the user to type in numerics to a text field?
> I do not
TECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 11:38 AM
Subject: Re: [PHP] numerics
> Check out: is_numeric()
> http://www.php.net/manual/en/function.is-numeric.php
>
> -Kevin
>
> - Original Message -
> From: "Edward Peloke" <[EMAIL PRO
"Edward Peloke" <[EMAIL PROTECTED]> wrote:
> IS there a way to only allow the user to type in numerics to a text field?
> I do not want to allow them to even type in anything unless it is a
> number.
> Basically, I don't want to allow them to enter hi and then I do checks and
> give them a warning
Check out: is_numeric()
http://www.php.net/manual/en/function.is-numeric.php
-Kevin
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 11:27 AM
Subject: [PHP] numerics
> IS there a way to only allow the user to type in
On Tuesday 11 February 2003 02:27, Edward Peloke wrote:
> IS there a way to only allow the user to type in numerics to a text field?
> I do not want to allow them to even type in anything unless it is a number.
> Basically, I don't want to allow them to enter hi and then I do checks and
> give them
5 matches
Mail list logo