Re: [PHP or maybe JavaScript or CSS] protecting my PHP from bad input
| From: | Eugene Lee | Date: | Wed, 19 Nov 2003 09:30:28 +0000 |
| Subject: | Re: [PHP or maybe JavaScript or CSS] protecting my PHP from bad input | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170252@lists.php.net to get a copy of this message | ||
On Wed, Nov 19, 2003 at 10:21:16AM +0100, Miroslav I. wrote:
:
: I'm familiar with the concepts, but I've seen sites with textboxes
: that would not show any letter typed - only numbers are displayed in
: the textbox. This is what I like but don't know how to achieve. :-)
Base on what I mentioned earlier, it sounds like you're looking for
JavaScript-based data validation. Your best bet is to look at examples
of JavaScript code. Here's a link to HotScript.com:
http://www.hotscripts.com/JavaScript/Scripts_and_Programs/Forms/index.html