Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / August 2005

Tip: Looking for answers? Try searching our database.

Date selection in the calendar picker

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris K - 29 Aug 2005 17:13 GMT
I saw a couple good threads about validating and changing dates based upon
some criteria.

Is it possible to restrict the days that can be selected on the calendar?  
Rather than letting the user pick a day then return an error (Sorry, it is
not a Monday) I want to only allow them to pick mondays from the list.
Scott L. Heim [MSFT] - 30 Aug 2005 13:07 GMT
Hi Chris,

I do not believe this would be possible although someone else may have an
idea. Is there a concern with validating the date after the selection is
made? The other option that may be a possibility is to always return the
Monday date for whatever week date they selected - if you think this may
work for you, let me know and I can provide a sample for you.

Best regards,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights
Chris K - 30 Aug 2005 16:07 GMT
My concern with returing the error is ... If I can prevent the user from
selecting an invalid field then I would prefer to do that.  I think that
increases the positive user experience.  

Your suggestion of moving to a monday would probably work.  Thanks for the
offer to supply the info.

Chris

> Hi Chris,
>
[quoted text clipped - 10 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights
Scott L. Heim [MSFT] - 30 Aug 2005 16:18 GMT
Agreed and I see your point. There may be someone else in the forum that
has done something like that with the Calendar control but I am not sure
it's possible.

At any rate, if you run into any walls with the option of returning the
Monday date, don't hesitate to let me know.

Take care Chris,

Best regards,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.