?
Solved

SharePoint Custom Form Date Selection

Posted on 2012-04-11
4
Medium Priority
?
323 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

741 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