Data is missing when using preceding-sibling in InfoPath2010 to copy values - InfoPath Dev
in

InfoPath Dev

Having trouble finding a blog or post that answers your question? Check out our Custom Search Page

Data is missing when using preceding-sibling in InfoPath2010 to copy values

Last post 12-26-2012 06:07 AM by Mel Balsamo. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-17-2012 02:07 AM

    Data is missing when using preceding-sibling in InfoPath2010 to copy values

    Hello All, 

    I am using preceding-sibling in my InfoPath 2010 form to copy values in a repeating section (copy values of some of the fields whenever a new section is added). This form is linked to a SharePoint 2010 list and I have selected the "Manage multiple list items with this form" option so that for each repeating section, a unique item is created in the SharePoint List.

    The above works fine: values are copied when a new section is added and multiple list items are created when the form is saved. However, when I open a created list item, the entries in the form are missing (fields are blank).

    Does anybody have an idea?

    Without the preceding-sibling, the missing data issue is not experienced, but I lose that much needed feature of defaulting values when new sections are added.

  • 12-26-2012 06:07 AM In reply to

    Re: Data is missing when using preceding-sibling in InfoPath2010 to copy values

    Try modifying the repeating group's default values:

    1. Right-click on the repeating section and select Repeating Section Properties.
    2. Click Modify under the data tab.
    3. Click Edit default values.
    4. Select the option "Only when the user inserts this section".

    This way, the default values will only apply when the user inserts row/s.

    Mel Balsamo
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

Page 1 of 1 (2 items)
Copyright © 2003-2012 Qdabra Software. All rights reserved.
View our Terms of Use.