Simple form validation
        Posted  
        
            by 
                ElendilTheTall
            
        on Pro Webmasters
        
        See other posts from Pro Webmasters
        
            or by ElendilTheTall
        
        
        
        Published on 2011-02-20T11:05:28Z
        Indexed on 
            2011/02/20
            15:32 UTC
        
        
        Read the original article
        Hit count: 323
        
forms
Hi,
I have a site with a simple contact form using ASP for customers to e-mail quote requests. However, I'm getting quite a few messages through with no contact information; I think people assume that their e-mail address is coming through automatically.
I'd like a simple way to make the e-mail and/or telephone number fields required, preferably so that the fields are highlighted as such if they're submitted without anything in them. I've Googled for this but they seem either too simple, diverting people to a separate page and requiring a 'back click', or incredibly complicated with massive reams of code.
Any suggestions?
© Pro Webmasters or respective owner