SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot thespian's Avatar
    Join Date
    Sep 2000
    Location
    South Africa
    Posts
    186
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A Date Picker Script Anyone?

    I am collecting information via a form on a web site. There are some serious date manipulation requirements. I am having all sorts of trouble creating JavaScript validation so I started thinking how much easier it would be if I knew the value captured was valid.

    I am hoping to come across something similar to the date selection in Outlook or the Date/Time setting on the Desktop.

    Any pointers to a script that could do that?
    Bill Conté [Protected by Psalm 91]
    Web Mechanix
    Growing OLD is Mandatory - Growing UP is Optional!

  2. #2
    SitePoint Zealot easyrew's Avatar
    Join Date
    Nov 2001
    Location
    Milton Keynes, UK
    Posts
    186
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I claim no credit for this - I can't remember where I found it, but it has followed me from job to job.
    The current colour scheme (lovingly described as "baby-nappy-brown) can be defined using variables in the .js file.

    The zip archive contains pickdate.gif, date-picker.js and demo.htm.
    If you need any help implementing it just shout.

    You can find the archive here: DatePicker JS

    Have fun...
    R
    If a man stands alone in the forest
    and there's no woman around to hear him,
    is he still wrong?
    w: www.EasyRew.com

  3. #3
    SitePoint Zealot thespian's Avatar
    Join Date
    Sep 2000
    Location
    South Africa
    Posts
    186
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    easyrew

    Thanx for the script. Just what the doctor ordered. In the meanwhile I have put something together myself (not nearly as extravagant) and so doing have learnt a lot more about JavaScript!

    Your script is certainly going to come in handy in the future - I look forward to disecting it!
    Bill Conté [Protected by Psalm 91]
    Web Mechanix
    Growing OLD is Mandatory - Growing UP is Optional!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •