I really new to this...
I am practicing html and I dont know how to work with this,
How can I require that fields be filled in, or filled in correctly?
example: the field must be filled by email add ,state , phone number
I really new to this...
I am practicing html and I dont know how to work with this,
How can I require that fields be filled in, or filled in correctly?
example: the field must be filled by email add ,state , phone number
To require that fields are filled in or filled in correctly you need to use some code; Javascript or PHP are the most commonly used.
Mike
Empuriabrava Online
True story. You can't do it with HTML alone.
Usually it's done by the same tool that ultimately processes the form, but if your form goes off-site to a hosted service, you're probably stuck using JavaScript to validate the form before you send.
Here's one example of JavaScript validation:
http://www.w3schools.com/js/js_form_validation.asp
Colin Temple
Video Game Consoles | RPGs and MMOs | Xbox Living
Philosophy | Mythology | Tourette's Syndrome
Blog: Work, Web, Play
a
Last edited by cothse; 09-22-2012 at 12:32 AM.
Bookmarks