If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

[RESOLVED] Checking if text box is empty?

How would I create a function that can check if the text box named "title" was empty (form name is form) and of it was it a message would become visible above the text box? I want the function to be called when the user hits the submit button for the form.

When a user loads my page there is a contact form and they have to fill in all text boxes. If they click submit and a text box is empty above the text box new text will appear telling the user that they forget to fill in that text box.