How can i stop someone from posting when this form is empty?
Here is my form:

<form name="message" action="" >
<center><input name="usermsg" type="text" id="usermsg" size="63" />
<input name="submitmsg" type="submit" id="submitmsg" value="Send" /></center>
</form>

Sanchixx

Recommended Answers

You will have to use jquery or php to verifiy each field if it's empty and return an error

Jump to Post

All 2 Replies

You will have to use jquery or php to verifiy each field if it's empty and return an error

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.