Auto populate repeating sections in InfoPath with value from first drop-down (No Code) - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Auto populate repeating sections in InfoPath with value from first drop-down (No Code)

Last post 06-09-2014 07:53 AM by AmyJo93. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-23-2013 06:06 PM

    • ub206
    • Not Ranked
    • Joined on 04-24-2013
    • Posts 1

    Auto populate repeating sections in InfoPath with value from first drop-down (No Code)

    I have read many articles about this and used multiple versions of preceding-sibling with no luck. I am trying to accomplish the solution with no code if possible.

    Goal: User goes to SharePoint to open up a form and enter metric actuals for all countries for the current period. The user wants to enter this info all at once.

    Background: Custom InfoPath 2010 form sits on SharePoint 2010 list. Checked manage multiple list items with this form.

    Solution: I populate three fields for the user in the form when the form is loaded. Three fields are drop-down controls in repeating section that pull their data from secondary data sources (all SharePoint lists). One of them populates country info. Two of them populate period info and metric info. The user will go to the form in SharePoint to enter country specific data for same metric and period. To make it easier for the user, I pre-populated 12 repeating sections. Each line item has unique country name but same metric and period. User selects the period and metric from the first repeating section and rest of the 11 repeating sections populates values from the first section. I used Default Values (Data->SharePoint Form Data->Default Values->myFields->dataFields->my:SharePointListItem_RW->FiscalPeriod-> Default value-> fx->Formula) to enter ../preceding-sibling::my:SharePointListItem_RW/my:FiscalPeriod in the Formula. Everything works FINE as expected in Preview for metric and period, but after publishing to the SharePoint, opening the drop-down for these two fields and selecting a value, everything gets overwritten to blank. What am I doing wrong? Please help.

     

  • 06-09-2014 07:53 AM In reply to

    Re: Auto populate repeating sections in InfoPath with value from first drop-down (No Code)

    Hello,

    I am having the SAME EXACT issue. Was wondering if you ever found a solution??

     

    Amy Jo

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