Cascading drop down lists in an InfoPath repeating table
This InfoPath demo is the completed solution for recipe 99 of InfoPath 2010 Cookbook in which drop down list boxes have been placed within an InfoPath repeating table.
In recipe 99 you will learn how to place cascading drop-down list boxes in a repeating table in InfoPath 2010.
InfoPath demo video transcript:
An often requested functionality in InfoPath is the ability to create cascading drop-down list boxes as this recipe demonstrates. Here I've got an InfoPath form with a repeating table control that has two columns and in each column I've placed a drop-down list box control.
Currently, the drop-down list box controls are being populated by an XML file that contains running shoe brands and running shoe models. I'll be populating the first drop-down list box with the running shoe brands and the second drop-down list box with the running shoe models.
As you can see, the second drop-down list box is currently empty, because I haven't yet selected a running shoe brand in the first drop-down list box. So if I do that, you'll see that the second drop-down list box is then populated with the running shoe models corresponding to the selected brand in the first drop-down list box.
I can add a second row, select a different brand, and then its corresponding models will appear in the second drop-down list box. If I change my mind and select a different brand in the first drop-down list box, you'll see that the second drop-down list box is first cleared and then refilled with the running shoe models corresponding to the selected brand in the first drop-down list box.
Related InfoPath Demo Videos:
Copyright: This article may not be used on web sites (whether personal or otherwise), copied, disseminated, altered, printed, published, broadcasted, or reproduced in any way without an expressed written consent of S.Y.M. Wong-A-Ton. The techniques demonstrated in this article may be used within any Microsoft InfoPath project. This article is provided without any warranties. Copyright for this article is non-transferrable and remains with the author, S.Y.M. Wong-A-Ton.