Prevent Form submitting empty values - HTML CSS CSS Form

HTML CSS examples for CSS Form:Form

Description

Prevent Form submitting empty values

Demo Code

ResultView the demo in separate window

<html>
 <head></head> 
 <body> 
  <form method="post" action="" id="configForm"> 
   <label for="home">Lorem</label> 
   <br> 
   <input type="text" id="home" name="home" required> 
   <br> 
   <label for="apendix">Lorem ips</label> 
   <br> 
   <input type="text" name="apendix" required> 
   <br> 
   <label for="about">Lorem </label> 
   <br> 
   <input type="text" name="sobre" required> 
   <br> 
   <label for="contato">Lorem ip</label> 
   <br> 
   <input type="text" name="contato" required> 
   <br> 
   <br> 
   <input type="submit" value="Carregar" name="submit"> 
  </form>  
 </body><!--   w  w  w  .jav a 2s .c  o m-->
</html>

Related Tutorials