Setting a Default Date with InfoPath SP-1
InfoPath SP-1 has some nice features that are designed to help reduce the amount of coding and complexity within a form. In this example, I will show how to set the default date for a date picker to today.
- Open InfoPath and Design a new form
- Design a form with a data source that contains the following

- Design the form as follows

Once this form is completed and deployed. Whenever a user opens the form they can select the date from the drop down list box. With SP-1 the addition to functions and formulas to the default values, allows us to set the default date without any code.
- Select the properties of RequestDate

- Select the function button

- Select Insert Function

- Select the Today function

- Once selected the formula is then updated to the default value

The release of SP-1 for InfoPath provides a variety of new feature enhancements that are designed to reduce the complexity and coding needed within forms. This was a simple example of selecting the ‘today’ function. Of course, there are many more features and functions available.