hi , 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?
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 Advisor Do you know where the (database) error is? Add it to the list! Thinking Web: Voices of the Community Blog - Free Flash Slideshow Widget
Forum Rules
Bookmarks