Re: numerics

From: Date: Mon, 10 Feb 2003 23:19:47 +0000
Subject: Re: numerics
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-135136@lists.php.net to get a copy of this message
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 (epeloke@echoman.com) 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 that it isn't a number, I want to force it from the > start. > > Thanks, > Eddie >

« previous php.general (#135136) next »