I want to display an error message next to the input field.
thank you so much in advance
Post a brief example of the form you are trying to validate.
Not the whole thing, just a brief HTML (with or without script) test program.
I have a form with name,password,email,country,age fields.
In a nutshell, place a div with a unique ID just next to the inputs and change the innterHTML of each to display the error message as it pertains to that field if that field isn't valid.
o . Q
_—__ "You live and you learn; or you don't live long." - Lazarus Long
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)