I can't upload the form, it's too large (286k), maybe I could email it? I am including a put together picture as the form is too large to include a full screenshot. Here is some additonal information that hopefully helps
This particular piece of the form is a cascading dropdown setup with the second dropdown being populated by a repeating table where the information in the table is added dynamically based on the selection in the first dropdown.
The fields that you will be interested in are:
myfields
grpNewDevice
lstSupportedDevices (The dropdown listing the Cell phone Models)
lstColor (The dropdown showing the available colors for the selected phone)
grpMainDebug
strColor1
strColor2
strColor3
strColor4
grpColor (The repeating table group)
Color (The repeating group that gets dynamically populated by rules on the color fields)
strColor (The field in the repeating table)
The basic scenario ~ Employee filling out the form selects a phone from the dropdown list. The second dropdown is populated with the available colors for the phone selected.
How it is supposed to work ~ The colors and number of colors change based on the item selected in the first list. So the table that the dropdown list gets its value from is a repeating table that is populated dynamically by rules on the 4 'color' fields. There will always be a value in the first field. The first color field has a 'set field' rule to populate the 2nd color field from the data in the SharePoint list. This 'strColor2' is where all the 'magic' starts to happen. If the condition 'Not blank' is met, the rules insert and populate a row into the repeating table and then populate 'strColor3' where this process is repeated and then on to 'strColor4'.
If the employee filling out the form mistakenly selects the wrong phone from the list and then changes his selection, the corresponding 'lstColor' should only display the available colors for the phone selected. This means that somewhere a delete has to happen to clear the rows for the repeating table or it just keeps adding rows and if the 2nd selection made has fewer colors associated with it then the first, there will be lingering items from the 1st selection.
This image shows a selection in the list of phones and it's corresponding list of colors. The second part of the image shows what happens if a different selection is made of a phone that has fewer colors than the first. Each part shows the repeating table and what is happening to it when the selection is made.