[thelist] Fomated tet box question

Brian Delaney brian.delaney at mccmh.net
Wed Mar 9 07:09:09 CST 2005


The date represents a event that happened in the past that the user has 
to type in.

Currently there are complaints because typing the '\' takes extra time. 
I would like to have the '\'
already in place so they can just slam the 8 digits for date.

A select or dop-down will take even longer.

Thanks

Chris.Marsh at Callserve.com wrote:

>Brian
>
>  
>
>>My users enter a data in a simple text box.
>>
>>I would like the box to just except the date and not have to type the 
>>slashes '\' for 03\09\2005
>>
>>example:
>>
>>______________
>>    \      \
>>______________
>>
>>I have read a little about masked text boxes,but there had to be a 
>>easier way.
>>    
>>
>
>I have had success using select boxes instead of text fields. I use
>javascript to dynamically change the number of days available as the
>selected values in the month and year select boxes are changed. If the user
>does not have javascript available, 31 days are available for each month.
>Validation is performed on the server, as should always be done with any
>form input. The order that the month and day select boxes are displayed can
>be changed depending on the information ganied regarding the user's
>geographical location. This, in addition to explicit labelling, reduces any
>confusion regarding date formats between US and UK formats. It also requires
>no extra logic when the date is processed on the server. The default value
>can be today's (or any, for that matter) date. Is there any particular
>rerason that yuo want to allow the user to input free text for a date?
>
>Regards
>
>Chris Marsh
>
>_______________________________________________________________________
>This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete the email immediately. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. 
>
>Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
>
>Finally, the recipient should check this email and any attachments for the presence of viruses. Callserve Communications accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________________________________
>This email has been scanned for all viruses by the MessageLabs SkyScan
>service.
>  
>

*
*
*
This message, including any attachments, is intended solely for the use of the named recipient(s) and may contain confidential and/or priveleged information.  Any unauthorized review, use, disclosure or distribution of this communication(s) is expressly prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy any and all copies of the original message.


More information about the thelist mailing list