Tip #1445: Date picker in Power Pages revisited


The article provides an updated version of code to restrict the date picker control in Power Pages. The code allows for restricting two date controls - one to future dates only and the other to a maximum interval of two weeks. The article includes the JavaScript code that needs to be added to the page containing the form, as well as CSS code for accessibility. The end result is that the first control only allows selection from today onwards, while the second control is restricted from tomorrow until two weeks from now.


Article 14m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time