![]() ![]() ![]() The data source for the form template consists of fields and groups that appear in a hierarchical view in the Data Source task pane. If there's something wrong with the binding, you'll see a blue or red icon instead. When the binding is correct, a green icon appears. The icon indicates whether the control is correctly bound to that group or field. The text indicates the group or field to which the control is bound in the data source. When you select or move your pointer over a control, text and a binding icon appear in the upper-right corner of the control. When a control is unbound, it is not connected to a field or group, and data entered into the control is not saved. When a control is bound, it is connected to a field or group in the data source so that data entered into the control is saved in the underlying form (.xml) file. The following illustration shows how a drop-down list box looks when it is selected in design mode.Ĭontrols can be bound or unbound. The procedure for inserting a drop-down list box differs slightly depending on whether you are designing a new, blank form template or basing the design of your form template on a database or other external data source. To select an item from the list, users click an arrow on the right side of the drop-down list box and then click the item that they want. When users first open a form, the list items in a drop-down box are hidden. If the list items come from values elsewhere in the form or from a secondary data source, the Select text is omitted. This lets users know that they must make a selection from the drop-down list. If you manually type your own list items in the Drop-Down List Box Properties dialog box when you create the drop-down list box, InfoPath displays the text Select as the default entry in the list. However, with option buttons, users click a small circle to make a choice instead of clicking an item in a list box.ĭrop-down boxes are similar in appearance to combo boxes. ![]() Option buttons Like a drop-down list box, a group of option buttons enables users to select from a list of mutually exclusive choices. Multiple-selection list boxes take the form of two or more check boxes inside a scrollable list. Multiple-selection list box If you want users to be able to choose more than one item in a list, you can use a multiple-selection list box instead of a drop-down list box. However, in a combo box, users can type their own value into the list in addition to choosing from the predefined values. The list is hidden until your users choose to display it. If space is not an issue on your form template, you might consider using a list box, which may make it easier for users to browse for and select items.Ĭombo box Like a drop-down list box, a combo box enables users to select a value in a list. However, unlike a drop-down list box, a list box displays the entire list on the form. List box Like a drop-down list box, a list box enables users to select a value in a list. To decide which of these controls works best on your form template, refer to the following list: InfoPath includes controls that are similar to drop-down list boxes but that serve different purposes. In the Drop-Down List Box Properties dialog box, you can type the entries yourself or configure the drop-down list box to retrieve entries from a database or other data source. Otherwise, users will see an empty list when they click the arrow next to the drop-down list box. In the following illustration, users categorize expenses on an expense report form by selecting predefined values in an opened drop-down list box.Īfter you insert a drop-down list box on your form template, you must specify the values that you want to appear in it. Hide the list entries on the form by default.ĭisplay the values retrieved from a fixed list, from the form template's data source, or from an external data source, such as a database or Microsoft Windows SharePoint Services list. Use a drop-down list box when you want to:Įnable users to choose a single selection in a list of predefined items. The list is hidden until the user clicks the arrow to the right of the drop-down list. You can use a drop-down list box in a Microsoft Office InfoPath form template to present a list of mutually exclusive choices to a user.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |