I think I am unclear on the process! :-)
- "When the form is opened, the first item has a value filled in the
drop-down and is considered a valid entry."
>> Are you double-clicking on an InfoPath XSN (the template) or an InfoPath
XML file (one that was previously created from the XSN?)
- "When adding a second item to the repeating section, the dropdown is also
filled out with a value but when you try to save this, the form considers
the dropdown in the second item as empty."
>> Does the first item (i.e. the first Repeating Section) contain the same
exact value? If so, I cannot reproduce this behavior.
Here are the steps I followed:
- Created a new, blank InfoPath form
- Added a Repeating Section
- Added a text box and drop-down list box to the Repeating Section
- Right-clicked on the drop-down list box, chose Properties and added A, B
and C as items for the drop-down.
- Set "A" as the default and enabled the option: Cannot be blank
- Previewed the form and on the first (and only at this point) record, "A"
was displayed.
- Added a new Repeating Section by clicking the default link: Insert Item
and again, "A" was completed and valid.
Does this help at all?
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights