InfoPath Date Picker the same as current date - InfoPath Dev Sign in | Join | Help in General 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 » General » InfoPath Date Picker the same as current date InfoPath Date Picker the same as current date Last post 10-17-2006 11:06 PM by Suresh Reddy. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 10-17-2006 11:20 AM Michael71 Joined on 10-07-2006 Mclean, Virginia-USA Posts 283 InfoPath Date Picker the same as current date Reply Contact How do I make the InfoPath date Picker show the same date as a server date or computer date, without the user having to pick a date? 10-17-2006 11:57 AM In reply to Shiva Joined on 04-15-2005 India Posts 694 Re: InfoPath Date Picker the same as current date Mark as Not AnswerMark as Answer... Reply Contact Hi Michael,You can write the below code in onLoad function. Whenever form loads today date is set to your date picker field.string now = DateTime.Now.ToString("yyyy-MM-dd");thisXDocument.DOM.selectSingleNode("Date field xpath").text = now; Shiva / http://www.ggktech.com 10-17-2006 12:33 PM In reply to Michael71 Joined on 10-07-2006 Mclean, Virginia-USA Posts 283 Re: InfoPath Date Picker the same as current date Mark as Not AnswerMark as Answer... Reply Contact Where is the OnLoad function??? 10-17-2006 11:06 PM In reply to Suresh Reddy Joined on 02-09-2006 India Posts 52 Re: InfoPath Date Picker the same as current date Mark as Not AnswerMark as Answer... Reply Contact Hi Michael,Select the Tools -> Programming -> On Load EventEnter your code there.Hope this will help you. Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.