Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to, for a calendar control of a date field in the new item form, make only the current day and the day after it to be the only selectable dates in that control. Of course, this changes daily or in other words the next day the selectable dates will change according to the current date (dynamically).

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

You would have to write a custom control to make that happen. Another approach could be to change the value after selection with javascript/jQuery. For example, change the date to Today for anything <= today, and tomorrow for anything > today.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.