@michaelsidler Thanks Michael (it looks was copy paste :))!
@afdil13 returned param ret is true or false and that's enough.
However, client-side validation may not work in all instances.
A user may have a browser that doesn't support client-side scripting or may have scripting disabled in the browser.
For this reason, client form validation can be faster than server-side validation. If, for example you want to make an event for january 2015 and it's currently december 2014, this would be flagged as invalid.Perhaps this was for a specific case but in general, any future year should be a valid date.When referring to Java Script in general, this article uses the generally accepted term "Java Script." However, when referring to documentation on the Microsoft Developer Network (MSDN) Web site, this article uses the term "JScript." Note The previous code specifies an e-mail address for the Action attribute of the form property.For more information, see ACTION Attribute | action Property and form property.It also intelligently checks that the date ranges are valid, so something like 02/30/2005 is caught.The whole idea of the tutorial is to dynamically validate the data and display the results when the user is typing the same. Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.Sending data back and forth between the client and server can cause some delays.However, for some form functions, server-side validation is necessary.Important JScript is Microsoft's implementation of ECMAScript, as defined by the specification of the European Computer Manufacturers Association.Both Java Script and JScript are ECMAScript-compliant languages.