Hello All,
Firstly I just want to say this forum is brilliant, it's already helped me solve problems I was unable to find solutions to elsewhere on the www.
My current problems are two different issues based around dates. I am developing in WSS (not MOSS... yet) and InfoPath07
I am developing a timesheet form which asks the user to select the date the week begins on. There are then read-only date fields above each "Day of the week" label (which are columns in a repeating table) eg "23/10/07" above Tuesday. in the hope that I can somehow figure out how to pull the information for all of Tuesdays activities as well as being able to track activities/tasks are rows of that repeating table
So, the problem is that these date labels are all based off the date the user enters, so if the user selected that the week began on Tues 23rd Oct 07, then the labels would show Monday with 23rd Oct 07 above it. I cannot find a way to only let the Date Picker for the "Week beginning..." date only allow the user to select a Monday. If I could then the rest would always be displayed correctly
The other hope was that rather than having got the date values based on the "Week beginning..." date, that the current setup of having one row for 22/10, 23/10, 24/10, 25/10, 26/10, 27/10 with M, Tu, W, Th, F etc. underneath on a seperate row, would be that based upon the date e.g. 22/10 that the display value would be Mon for that date instead, but the underlying xml value saves the actual date.
I figure there must be some way to do this without having to mess around with Visual Studio? Am I being blind and missing a function/formula to have rules for the date box to stop any date except Monday being entered? And am I being blind missing an option to display the Date as a Dayname tied to that date??
Thank you for your help in advance and I hope I have explained the problem sufficiently