In addition to modifying SharePoint list forms in InfoPath you will find yourself creating custom form templates in InfoPath to capture data from users for a variety of purposes. InfoPath 2010 already comes with many templates by default. In this section you create a new form template that will be used to collect feedback about training from users. This form will have the fields listed in Table 24.1.
You now create a custom InfoPath form template. To create a custom InfoPath form template, follow the next steps.
Before creating a custom form template you need to create a form library to store the InfoPath form. A form library is a document library that has an InfoPath form as its template. In addition you need to create the Department lists, which act as the data source for the Department field. Follow the next steps to create a new form library and the Department list.
The next step is to create a new InfoPath form template in Microsoft InfoPath Designer 2010 and the required controls for the form template.
You now need to specify the data source for the various controls and set the current logged in user name as the default value for the User Name field. To do so, follow the next steps.
You now need to specify the behavior of the Submit button. The InfoPath template must be saved to the Training Feedback form library that you created earlier.
Finally you need to publish the custom form template so that it is available in the Training Feedback form library.
Once again the most noticeable thing about the preceding exercise is the ease in designing the form. You can play around with other options in the InfoPath Form Template Designer, especially concerning the look and feel of the form, validations, and data connectivity. It also is a good idea to play around with the existing templates that InfoPath provides out of the box.