Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a repeating section in my InfoPath form that displays a dropdown's choices just fine in the Preview, but after publishing to SharePoint and creating a new list item, only shows the first default choice in subsequent dropdowns after clicking on the add button (for repeated items).

To illustrate, here is the "Preview" of my InfoPath form which seems to be working fine:

enter image description here

And here is what happens to the dropdown after publishing to my sharepoint list and creating 2 or more repeating items:

enter image description here

Any explanation for this behavior?

share|improve this question
add comment

2 Answers

Please check my answer to question:

starting from the sentence:

"If you want the same list of choices you could have bound instead to external data source (like, for example, sharepoint list field)"

share|improve this answer
    
I have tried adding an external source to bind to, and it works, but with limitation. While the choices now display as I add repeated items, they only display choices reflecting what was already added to the list, i.e. I want 4 choices to be displayed no matter what: "Year 0, Year 1, Year 2, Year 3", but if the list only contains one item with its year as "Year 3", the dropdown will only show that one choice when I add another item. That could be fixed by a combo box for new values, but there is an additional problem that choices aren't sorted in numerical order and I have no way to sort them. –  Alex Dec 26 '12 at 20:48
    
I supposed a hackish workaround to this would be to create a separate list just for holding these lookup values, hide that list from any user, and use it for the form lookup to get the "static" number of choices for my dropdown. –  Alex Dec 26 '12 at 21:58
add comment
up vote 0 down vote accepted

I was eventually able to resolve this by re-creating that field and re-mapping it while setting its data source to an external list that holds the choices.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.