InfoPath Forms 2013: Part 3

Introduction

In the previous article InfoPath Forms 2013 Part 2 I demonstrated the various methods to fill a dropdown list in an InfoPath form. In this article we will explore how to use the various controls in an InfoPath form.

Types of controls

InfoPath24.jpg

Input

Input controls include the controls that you typically associate with collecting and displaying information.

InfoPath1.jpg
InfoPath2.jpg

Objects

Object controls include buttons, labels, and ways to insert attachments, pictures and hyperlinks when users fill out forms.

InfoPath3.jpg
InfoPath4.jpg

Containers

Container controls help organize form design by allowing other controls to be placed inside them. They also provide a way to allow multiple instances of a set of controls (repeating) or to allow the controls to be optional.
InfoPath5.jpg
InfoPath6.jpg

Example for File Attachment Control

Create one field for the attachment control:

InfoPath7.jpg

Choose the control type as File Attachment:

InfoPath8.jpg

After that we need to click Preview; the control shows like this:

InfoPath9.jpg

Click on the attachment and select the file:

InfoPath10.jpg

Example for the Button control

Insert a button control in the form:

InfoPath11.jpg

Right-click on the button control and change the Label:

InfoPath12.jpg

And click on "Submit":

InfoPath13.jpg

Enable the user to submit the form and select the drop down value as SharePoint document Library:

InfoPath14.jpg

Add a new data connection for the submit:

InfoPath15.jpg

Or we need to create a new connection from here and select the option to submit data:

InfoPath16.jpg

Please select the option "To a document library on a SharePoint site":

InfoPath17.jpg

Enter the site URL here:

InfoPath18.jpg

Give the name for the new data connection here:

InfoPath19.jpg

Here we can show all the connections that we created:

InfoPath20.jpg


After that Publish the form:

InfoPath21.jpg

Your form template was published successfully and click the "Ok" button:

InfoPath22.jpg

Finally we can update the data into the SharePoint list:

InfoPath23.jpg

Reference

http://office.microsoft.com/en-in/infopath-help/introduction-to-controls-HA101732804.aspx#_Toc268101499

Summary

In this article we explored the various controls and how to use them in the InfoPath forms.

Up Next
    Ebook Download
    View all
    Learn
    View all