InfoPath 2010 date picker default value

Applies to: InfoPath 2010

Learn how you can set the default value for an InfoPath 2010 date picker or InfoPath 2010 date and time picker.

ADVERTISEMENTS

In InfoPath 2010, there are 3 methods you can use to set the default value of most InfoPath fields:

  1. Use the Default Value property if it is available.
  2. Use an InfoPath Form Load rule.
  3. Use a Set a field's value action rule.

Any of these 3 methods can be applied to InfoPath 2010 date picker and InfoPath 2010 date and time picker controls.

However, because an InfoPath 2010 date picker stores only dates and an InfoPath 2010 date and time picker stores a date and time, you must use different InfoPath 2010 date and time functions to set their default values.

The following InfoPath 2010 tutorial video shows you how you can set an InfoPath 2010 date picker default value and an InfoPath 2010 date and time picker default value.




 


Related InfoPath Articles:

 

Copyright: This article may not be used on web sites (whether personal or otherwise), copied, disseminated, altered, printed, published, broadcasted, or reproduced in any way without an expressed written consent. The techniques demonstrated in this article may be used within any Microsoft InfoPath project. This article is provided without any warranties. Copyright for this article is non-transferrable and remains with the author.

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners

InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013

InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners

InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010

InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers

InfoPath 2010 Cookbook 4: 101 Code Recipes for VB Developers

InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services