How to create a validated date entry field
I appreciate that SQL has its own methods of date storage. What I want to do is to ensure that my users can easily enter the correct date first go, rather than receiving a returned error message if they dont. When I use Dreamweaver to create a date entry field it just gives me a single unformatted field and the user has to enter the slashes as well as the numbers. What I want to achieve is either 1 Have the field preformatted eg ../../.... with the user able just to type in the numbers only OR alternatively I guess I could use three fields of 2,2 and 4 characters and somehow join them before submitting the date to the server. (Not sure how to join them )
Any help gratefully received.
Comments
Be the first to write a comment
You must me logged in to write a comment.