> -----Original Message----- > From: Jim Moseby [mailto:JMoseby@xxxxxxxxxxxxxxxxx] > Sent: 08 June 2005 15:18 > To: 'dave@xxxxxxxxxxxxxxx' > Subject: RE: HELP! form validation > > > > -----Original Message----- > > From: Dave Sayer [mailto:dave@xxxxxxxxxxxxxxx] > > Sent: Wednesday, June 08, 2005 9:58 AM > > To: php-general@xxxxxxxxxxxxx > > Subject: HELP! form validation > > > > > > Hi php’ers, > > > > What would be the best method of validation a large (8 > > stages) form written > > in php? The form validates using php at the moment but it > > only displays the > > errors in a group, what we want it to do is highlight the > > fields or labels > > for the incorrect entries (if that makes sense.) so the user > > can easily see > > where to correct their mistakes. Any advice, or links to good > > resources > > would be great!! I do not really know javascript so a php > > solution would be > > preferable. > > > > > > Hi Dave, I have attached a simple example of how I do it. You may be > able > to adapt it to your own situation. > > Jim > Hi Jim, I can see that being a very nice way of doing it. I will get on and give it a go this afternoon. Thanks so much for the speedy response! Cheers, Dave -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.5 - Release Date: 07/06/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php