Date Picker

D

DaveKC

Is it passable to validate a date so that a user could only pick a date that
is every 14 days and or the last day of the month? I'm trying to set up a
time sheet for the first time in infoPath.
Thanks
Dave
 
B

Ben Walters

Hey Dave,
I don't think there is an easy way to do this using the Declarative logic
engine in InfoPath however you could probably get this type of functionality
going using code
Perhaps rather than using a date picker control for this you could use a
drop down list pre-populated with valid dates for the user to select. In my
thinking (which could be wrong) you wouldn't have an employee entingering a
timesheet for anything more than say 4 weeks in the past so the process
would simply be to add a set of valid dates to an XMLstructure in the form
when it loads, then have your drop down reference this xml section. (hope
this makes sense if not let me know)

Cheers,
Ben walters
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top