[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SharePoint Custom Form Date Selection

Posted on 2012-04-11
4
Medium Priority
?
335 Views
Last Modified: 2012-07-07
I have a custom newform (NewForm_Custom.aspx) for my custom list application and one of the listform fields is a date field which has a calendar selection.
 
The question I have is..  Is there a way to only allow users to select Fridays off the calendar?
0
Comment
Question by:Matt Pinkston
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:QPR
ID: 37835806
You could have a javascript function that checks the date value selected and then checks the WeekDay to see if it equals Friday, if not it would clear the select and alert the user but it sounds painful from a user point of view.

Click the date picker
Select a date
Read the pop up alert
Clear the alert
Re-open the date picker
select a date

I know of no way to disable days within the date picker control
0
 

Author Comment

by:Matt Pinkston
ID: 37837513
one would think there should be a way to limit the dates that can be selected via parameters
0
 
LVL 29

Accepted Solution

by:
QPR earned 2000 total points
ID: 37839842
0
 

Author Comment

by:Matt Pinkston
ID: 37844558
nice idea but this would be difficult to implement I would have a list of disables days that was HUGE.  is there nothing that says just put Fridays on the calendar???
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month20 days, 6 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question