You can do this using data validation, rules, and formulas. I just posted an
article on how to do this. See
http://enterprise-solutions.swits.net/infopath2007/force-select-day-of-week-date
-picker-infopath-using-rules-formulas.htm
---
S.Y.M. Wong-A-Ton
> You can do this using data validation, rules, and formulas. I just posted an
> article on how to do this. Seehttp://enterprise-solutions.swits.net/infopath2007/force-select-day-o...
[quoted text clipped - 9 lines]
> > --
> > kb
http://enterprise-solutions.swits.net/infopath2007/force-select-day-of-week-date
-picker-infopath-using-rules-formulas.htm
Hmmm... I am getting different values with this formula in 2008. I'm
guessing these results are based on a 2007 calculation?
--AK
S.Y.M. Wong-A-Ton - 03 Jan 2008 23:29 GMT
No, it's not supposed to be, but it seems to be off by 2. Thanks for alerting
me to this bug. I'll take a closer look at it when I get a chance. In the
meantime, I've removed the article until further notice, and as mentioned
previously by another poster, this functionality can be achieved through the
use of code.
---
S.Y.M. Wong-A-Ton
> http://enterprise-solutions.swits.net/infopath2007/force-select-day-of-week-date
-picker-infopath-using-rules-formulas.htm
>
> Hmmm... I am getting different values with this formula in 2008. I'm
> guessing these results are based on a 2007 calculation?
>
> --AK
S.Y.M. Wong-A-Ton - 05 Jan 2008 03:16 GMT
The article is back online. I modified the formula and the numbers. It should
work fine now in 2007, 2008, and all other years. If you find any more bugs,
let me know.
---
S.Y.M. Wong-A-Ton
> > You can do this using data validation, rules, and formulas. I just posted an
> > article on how to do this. Seehttp://enterprise-solutions.swits.net/infopath2007/force-select-day-o...
[quoted text clipped - 16 lines]
>
> --AK