Setting default date for date picker to Friday at end of current week. - InfoPath Dev
in

InfoPath Dev

Setting default date for date picker to Friday at end of current week.

Last post 07-28-2008 09:20 AM by Hartigan. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-25-2008 11:40 AM

    Setting default date for date picker to Friday at end of current week.

    I am in the process of designing a new timesheet in InfoPath for my employer. I have been asked to set the date picker's default value to the date of Friday of the current week. Any ideas on how this can be accomplished? Preferrably quick and easy through some sort of formula as I have no prior XML experience.

    Any responses are greatly appreciated.

    Thanks, Liam

  • 07-25-2008 12:08 PM In reply to

    Re: Setting default date for date picker to Friday at end of current week.

    Hello, and welcome!

    I am afraid I have sad news -- I don't know of any quick and easy way to do this. S.Y.M. Wong-A-Ton has an example here of requiring a selected date be a certain day using rules and formulas that you may be able to adapt to your needs, but otherwise this may require a bit of code.

    Hilary Stoupa

  • 07-28-2008 09:20 AM In reply to

    Re: Setting default date for date picker to Friday at end of current week.

    It doesn't exactly match the requirement but this is pretty cool. I think they'll approve.

    Thanks a lot.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.