This week's book giveaway is in the Android forum.
We're giving away four copies of Create an Uber Clone in 7 Days: Build a real world full stack mobile app in Java and have Shai Almog on-line!
See this thread for details.
Win a copy of Create an Uber Clone in 7 Days: Build a real world full stack mobile app in Java this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Restrict Datepicker To Past Date  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

with following tag <sj:datepicker how can i restrict  to don not show future date .  date picker should show till today .

Thanks
Sumit
 
Bartender
Posts: 9501
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at the DatePicketTag documentation.  There are several promising options, like maxDate, which sets the maximum selectable date.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!