Multi Selection List Box - Submit to SP - InfoPath Dev
in

InfoPath Dev

Multi Selection List Box - Submit to SP

Last post 08-13-2013 07:30 AM by BrandonBudnicki. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-12-2013 01:32 PM

    Multi Selection List Box - Submit to SP

    I am having issues submitting information with qRules from a multiselection list box in infopath that populates it options from a secondary SP list. The form will only submit one selection, and if you select multiple selections it fails to send any of the MSLB information. The rest of the form submits without error.

     The form does not have any custom code (besides qRules.)

    I believe I need to join the item ID's using a double eval, but have not been able to make anything work. The data structure looks like the below image, where TypeOfSavings is the MSLB and TypeOfSavingsSub is where the concanted data would be put (if thats the right aproach):

     


  • 08-12-2013 09:56 PM In reply to

    Re: Multi Selection List Box - Submit to SP

    Hi Brandon,

    First off, you should have a repeating group, not a repeating field. So TypeOfSavings should be a regular field underneath a repeating parent group. That's the correct structure.

    Repeating fields create issues for xpath because we can't tell how many there are in advance so references to items after the repeating fields fail because there is no way to "walk over" without knowing the number of repeating. Putting your fields in a repeating group solves this issue.

    Just change your data structure and my guess is that it will start working.

    Patrick Halstead
    Project Manager at Qdabra
  • 08-13-2013 07:30 AM In reply to

    Re: Multi Selection List Box - Submit to SP

    I am not sure i understand your solution. You are suggesting that I contain the data in a listbox/dropdown or simular and house that within a repeating group? My data is all being directed at a number of SP lists (and not within a forms library for business process reasons), would this solution require a third list to house the data?

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