RE: [PHP] forms checking
| From: | Boget, Chris | Date: | Wed, 19 Jul 2000 16:21:38 +0000 |
| Subject: | RE: [PHP] forms checking | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-7298@lists.php.net to get a copy of this message | ||
> is there a way with PHP to check fields in a form to make
> sure they aren't blank before submitting the form? Can
> you call a function to execute when a form is submitted like
> you can with JavaScript? Or are there event handlers like
> OnClick or OnBlur? Or even, can you use JavaScript
> functions with PHP?
I use Jay Bloodworth's FormClass for this (and much, much
more) and have been for the last 2.5 year. I don't know what
I would do w/o it, it is so useful. It also does JavaScript
verification...
It can be found here:
http://px.sklar.com/code.html?code_id=34
If you need any help with it, just let me know.
Chris