Solved

SharePoint Custom Form Date Selection

Posted on 2012-04-11
4
293 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 500 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Question has a verified solution.

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

Suggested Solutions

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

948 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

21 Experts available now in Live!

Get 1:1 Help Now