Re: Form validation of dynamically generated forms?

From: Date: Wed, 30 Aug 2000 01:51:05 +0000
Subject: Re: Form validation of dynamically generated forms?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-14300@lists.php.net to get a copy of this message
Hello Chad, On 28-Aug-00 13:19:00, you wrote: >Having some trouble with this one.. trying to get form validation working >on dynamically generated PHP forms.. if there's a code snippet out there >that would help with what I have below, I would appreciate a link.. or if >anyone here knows JS (I realize this is not a JS list), please drop me a >line privately if you see the bug below. >I tried writing some Javascript in PHP, and it works great in IE.. but in NS >it dies. Returns a form has no properties error, and does not check for >validation. I can't see where the problem may be, but you may want to try this PHP form generation and validation precisely as you need and probably much more. It generates the necessary Javascript to make it validate forms on the client side and you can call the class functions in PHP to validate it on the server side. If your problem also shows in the Javascript code generated by the class, just mail me back with your test script, browser and OS version that you used. http://phpclasses.UpperDesign.com/browse.html/package/1 Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.general (#14300) next »