Solved

SharePoint Custom Form Date Selection

Posted on 2012-04-11
4
286 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
Comment Utility
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
Comment Utility
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 500 total points
Comment Utility
0
 

Author Comment

by:Matt Pinkston
Comment Utility
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SharePoint 2016 2 46
SharePoint Designer 2013 4 41
OneNote and SharePoint 10 50
Sharepoint 2013 Library List View Limitations 9 31
Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now