Form validation helps us achieve these goals — this article tells you what you need to know.This is called form validation — when you enter data the web application checks it to see if it is correct.The truth is that none of us filling in forms — there is a lot of evidence to show that users get annoyed by forms, and are one of main things that will cause them to leave and go somewhere else if they are done badly. We want to make filling out web forms as non-horrible as possible, so why do we insist on blocking our users at every turn?
It makes your page much more user-friendly, and takes out the frustration of having to fill out the same form repeatedly.
I want to have a text box on a page that the user can enter any date in MM/DD/YYYY format and then upon submit it would take then to another page that would tell them how many days till Christmas is.
How can I get what the user enter as the date to the second page as the current date? var Today=new Date("July 30, 2009"); var This Day=Date(); var This Month=Month() 1; var This Year=Full Year(); var Days Left=Xmas Days(Today); var Month Name=Month Txt(This Month); document.write("Today is " Month Name " " This Day " Hi, Thanks for ur approach,thats working fine.