List Boxes in InfoPath
Learn how to use drop-down list boxes, combo boxes, list boxes, and multiple-selection list boxes in InfoPath.
Drop-Down List Boxes
Auto-fill fields in InfoPath from a drop-down list box selection and secondary data source
Learn how to use rules and conditions in InfoPath to create a drop-down list box that shrinks in items as rows are inserted into the repeating table that contains the drop-down list box.
Learn how to select an item from a dropdown list box, retrieve the database record corresponding to the item, and display the data in fields in InfoPath 2003.
Dynamically fill a drop-down list box in a browser form using another InfoPath form as a data source in SharePoint
Use the FileLocation property of the FileQueryConnection object to switch and point to different XML files when filling a drop-down list box in an InfoPath browser form in SharePoint.
Learn how you can use Windows SharePoint Services' (WSS) owssvr.dll and InfoPath's FileQueryConnection to write code that filters SharePoint list data displayed in dependent or cascading drop-down list boxes on an InfoPath browser form in SharePoint.
How to simulate Excel's VLOOKUP function in InfoPath to look up data in a secondary data source using rules and filters
Learn how to use rules and filters to look up data in a secondary data source (here: a SharePoint list) when an item is selected from a drop-down list box and create functionality similar to Excel's VLOOKUP function, but then in InfoPath.
This article explains how to use list controls such as drop-down list boxes, combo boxes, list boxes, and multi-select list boxes in InfoPath.
Bind the drop-down list box to a repeating node in either the Main or a secondary data source, and then loop through rows of data in another data source to populate the data source that is bound to the drop-down list box.
Programmatically check whether a value exists in a drop-down list box bound to a SharePoint list using an XPath filter
Learn how to use an XPath filter expression on a SharePoint list to look up a value in a secondary data source to which a drop-down list box in InfoPath is bound.
Learn about a non-traditional way of setting up cascading drop-down list boxes in InfoPath 2010 and how you can avoid infinite loops when running rules on fields that set each other's values.
Learn how you can use an XPath filter expression to set a drop-down list box that is being populated by a SharePoint 2010 list to automatically select and display its first item.
Use a combo box control and a web service to automatically type in and add new items to a list, thereby updating the underlying data store of the secondary data source that the combo box is bound to.
Use a rule to display a message box when an item entered into a combo box cannot be found in a list of valid entries.
Video Tutorial: InfoPath combo box control
Learn what an InfoPath combo box control is and how it works.
Learn how to copy items from a secondary data source to a list in the Main data source of a form and then move items between two lists which are bound to two repeating groups in the Main data source of the form template.
Multiple-Selection List Boxes
Use C# or Visual Basic code to loop through all of the items in the secondary data source a multi-select list box is bound to, and add each item to the DOM node that represents the multi-select list box.
Learn how multiple-selection list boxes differ from other list boxes in InfoPath, how they store data, and how you can use this information to apply rules and conditional formatting, or to write code in InfoPath.
Learn how you can use conditional formatting to hide and show rows of a repeating table that are based on the items selected in a multiple-selection list box on an InfoPath 2010 form.
Learn how to use default values to pre-select items in a multi-select list box in InfoPath 2010.