Re: [PHP] numerics

2003-02-10 Thread Justin French
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

Re: [PHP] numerics

2003-02-10 Thread Kevin Stone
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

Re: [PHP] numerics

2003-02-10 Thread Steve Werby
"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

Re: [PHP] numerics

2003-02-10 Thread Kevin Stone
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

Re: [PHP] numerics

2003-02-10 Thread Jason Wong
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