I have an area of my form that is set up for a date entry as follows:

__/__/__

mm dd yy

I would like to use JavaScript (or something better) to detect when 2 characters have been entered into the 'mm' field, and then to set focus to the 'dd' field. (then the same for the dd-> yy field) Essentially to the end user, it is as simple as just typing a string of 6 characters instead of having to 'Tab' through or click the next field. How does one achieve this?

Reply via email to