Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Date of Birth datepicker

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #150237
    matthisco
    Participant

    Hello,

    Is there a good, day, month year picker for entering a date of birth?

    One that calculates the amount of days in a month.

    Thanks in advance

    #150241
    Chromawoods
    Participant

    If you’re using jQuery, then have a look if one of these might do the trick:

    http://www.unheap.com/section/inputs-forms/date-time/

    #150242
    Paulie_D
    Member

    http://csua.berkeley.edu/~jgwang/jsfunc02.htm

    It’s not a picker…just a set of select inputs with some JS validation to make sure the date actually exists.

    It’s quote old so no doubt there are easier/tidier options.

    #150243
    matthisco
    Participant

    Thanks for the replies.

    Is it possible to populate the day dropdown with the amount of days in the month thats selected?

    #150245
    Paulie_D
    Member

    Probably but it sounds like a very inefficient way of doing it.

    Plus, what happens if the user doesn’t select a month first?

    Oh…and Leap Years!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.