Results 1 to 2 of 2
Sep 5, 2011, 12:53 #1
- Join Date
- Mar 2011
- 0 Post(s)
- 0 Thread(s)
ive created a basic form that validates before posting to a db
Is there some simple code that can highlight/ mark
the incorect field on the html form?
Sep 5, 2011, 21:45 #2
Put the names of the fields with incorrect values in an array as you validate them. Then, in the part where you display the form, check for each field if it's name is in the array. If so, do whatever you want with it.Guido - Community Team Leader
The 2013 SitePoint Awards - Nominate your heroes now!
Thinking Web: Voices of the Community
Blog - Free Flash Slideshow Widget