My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

Auto Date

Autocomplete Date Selector

Details

Auto Date v1.0.2 is a JS based auto-complete date selector which uses the Prototype Framework. Its an alternative to calender in browser which sounds annoying when one needs to enter future/past dates.

It validates the date before displaying the possible options. It make sure by prompting which date you are thinking in your mind. Say for example one types "01/05" it prompts 05 jan or 01 May. Sounds great!

It also understand certain literals as one usually writes in day to day communication e.g today, yesterday, tomorrow, coming weekend, new year, christmas, last month, saturday etc.

ONLY_FUTURE_DATE feature lets the user only to type future date from today. So it will not display past dates. Read more on the WIKI, see the example in source code (index.html) and feel free to provide suggestion/feedback.

Accepts the following date formats:

  • DD MM YY (seperator can be space " " , comma "," , period ".", forward slash "/")
  • MM DD YY (seperator can be space " " , comma "," , period ".", forward slash "/")
  • DD MON YY (MON can be (jan/feb/mar etc), seperator can be space " " , comma "," , period ".", forward slash "/")
  • MON DD YY (MON can be (jan/feb/mar etc), seperator can be space " " , comma "," , period ".", forward slash "/")
  • new year 1 Jan <present year>
  • christmas 25 Dec <present year>
  • Monday/Tuesday/Wednesday/Thrusday/Friday/Saturday/Sunday (all are coming ones, instead of present week)
  • Weekend/Week
  • Next Month/ Last Month/ Last week/ last weekend/ last sunday/ last monday etc
  • Today/Tomorrow/Yesterday

TODO:

  • After x days/month/year
  • Before x days/month/year

So just start typing and its fast autocomplete feature will take your heart away. Best of all, its all client side so no burden on your server.

For further help or any feedback, please feel free to mail me at akshaygupta.dev@gmail.com

Thanks to EnTrip and SmartWebby !

Powered by Google Project Hosting