Limit date picker calendar to two weeks - InfoPath Dev Sign in | Join | Help in Newbie Questions InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Newbie Questions » Limit date picker calendar to two weeks Limit date picker calendar to two weeks Last post 07-14-2013 11:46 PM by junjun. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 07-13-2013 10:05 PM junjun Joined on 07-13-2013 Posts 2 Limit date picker calendar to two weeks Reply Contact Hi, I want to set up my date picker calendar to two weeks from today. The idea is to keep users from picking dates beyond two weeks from whatever the present day. It should be fairly easy formula, but I am quite new to this and can't figure it out and can't seem to find any examples. I am using info path 2010. Hope someone can help, thanks. 07-14-2013 02:27 PM In reply to Patrick Halstead Joined on 08-08-2006 Posts 5,112 Re: Limit date picker calendar to two weeks Mark as Not AnswerMark as Answer... Reply Contact Create a validation rule with a condition that is "The expression" with the following value: translate(my:Date, ":-T", "") > translate(xdDate:AddDays(xdDate:Today(), 14), ":-T", "") Patrick HalsteadProject Manager at Qdabra 07-14-2013 11:46 PM In reply to junjun Joined on 07-13-2013 Posts 2 Re: Limit date picker calendar to two weeks Mark as Not AnswerMark as Answer... Reply Contact Perfect! Thank you so much! Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Create a validation rule with a condition that is "The expression" with the following value: translate(my:Date, ":-T", "") > translate(xdDate:AddDays(xdDate:Today(), 14), ":-T", "")