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.