Basic Date Picker Forums

Welcome to Basic Date Picker Forums Sign in | Join | Help
in Search

How to mask date using javascript

Last post 06-01-2006, 4:09 PM by geoffrey.mcgill. 1 replies.
Sort Posts: Previous Next
  •  12-15-2005, 8:15 PM 381

    How to mask date using javascript

    If my DateFormat=ShortDate, and user enters 06/01/05 instead of 6/1/2005 then control fails validation. I want to know how I can reformat the input once users leaves the control. I tried to fire event onBlur=foo(this) and reformat the date in foo() but the event does not fire.

    Is there any other way to fix this issue? I am sure this must be a common occurrance...

  •  06-01-2006, 4:09 PM 559 in reply to 381

    Re: How to mask date using javascript

    Hi dkonyayev,

    This defect has been fixed in the upcoming v1.2 release of the controls. If you are interested in beta testing v1.2, please download the installer via the following forum post. See http://forums.basicdatepicker.com/forums/thread/504.aspx

    For reference, the same defect was discussed in the following forum post. See http://forums.basicdatepicker.com/forums/thread/482.aspx

    Hope this helps.


    Thanks,
    Geoffrey McGill
    ----------------------------------------
    Coolite Inc.
    Email: support [at] coolite [dot] com
    Phone: +1(888)775-5888
View as RSS news feed in XML
 
Powered by Community Server, by Telligent Systems