<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Form load rules to set and appended multiple values in MSLB</title><link>https://www.infopathdev.com:443/forums/thread/122359.aspx</link><pubDate>Fri, 07 Feb 2020 19:24:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122359</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122359.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=122359</wfw:commentRss><description>Ah-hah, now I understand! The issue is actually due to the nature of a multi-select list box, unfortunately. So - you&amp;#39;ll see that the Value field is repeating if you look at the schema in advanced view. Unfortunately, when we select and deselect options in a multi-select, behind the scenes, InfoPath is inserting and deleting instances of this repeating node. However - since there is no rule-based way to add or delete repeating node instances, and there is no rule based way to index the target node, you end up in a situation like this. By default, your form will only have one Value node, but even if you re-opened a form where multiples have been selected (so there are multiple instances of the Value node) you still don&amp;#39;t have a way in the field picker for the target node to specify which instance you wish to set - InfoPath will always just overwrite the first one.</description></item><item><title>Re: Form load rules to set and appended multiple values in MSLB</title><link>https://www.infopathdev.com:443/forums/thread/122357.aspx</link><pubDate>Fri, 07 Feb 2020 17:48:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122357</guid><dc:creator>zosburn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=122357</wfw:commentRss><description>Hello Hillary!

I&amp;#39;ve attached a copy of my form. The control in question (changeMangementImpacts_mch) is at the bottom of view 2.11. The form load rules I have are the very last rules under Form Load. This is for an SPO List, just FYI.

&lt;p&gt;Essentially, these form load rules are checking if columns in a separate list are marked for a specific item. If yes, I want the corresponding value(s) in my MLSB to be pre-selected on form load. The problem I am running into is due to the logical nature my form load rules overwrite the previously triggered values which results in only 1 selected value, instead of keeping the previously triggered values selected.&lt;/p&gt;</description></item><item><title>Re: Form load rules to set and appended multiple values in MSLB</title><link>https://www.infopathdev.com:443/forums/thread/122356.aspx</link><pubDate>Fri, 07 Feb 2020 17:18:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122356</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122356.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=122356</wfw:commentRss><description>Ooooh, I&amp;#39;m confused. Can you attach a copy of your form under the Options tab in a reply? One thing - if you need to work around the five condition limit, change the first dropdown for your condition to &amp;quot;the expression&amp;quot; and you can copy out the actual XPath to the condition and add the &amp;quot;and&amp;quot; or &amp;quot;or&amp;quot; as appropriate in a single large expression. https://www.infopathdev.com/forums/t/14871.aspx</description></item><item><title>Form load rules to set and appended multiple values in MSLB</title><link>https://www.infopathdev.com:443/forums/thread/122355.aspx</link><pubDate>Fri, 07 Feb 2020 17:12:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122355</guid><dc:creator>zosburn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122355.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=122355</wfw:commentRss><description>&lt;p&gt;This if for InfoPath 2013. Came across a previous thread for writing values from a MLSB to another control which was very helpful for understanding the double eval formula.&lt;/p&gt;

&lt;p&gt;I am attempting to do something similar, but append the selection values within the MSLB control. Currently, I have 5 conditional form load rules which trigger and set a corresponding value in the MLSB. Given the logical nature of InfoPath rules, the 5 form load rules overwrite previously triggered values instead of appending them.&lt;/p&gt;

&lt;p&gt;My initial thoughts were the double eval trick was the right direction, but instead of concatenating values as text into 1 value, I need them to be set as separate values within the MLSB.&lt;/p&gt;

&lt;p&gt;Here&amp;#39;s what I have so far in my formula: eval(eval(changeManagementImpacts_mch, &amp;#39;concat(., &amp;quot;, Translations to be updated or created (French or Spanish)&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;

&lt;p&gt;&amp;quot;, Translations to be updated...&amp;quot; is concatenated as text to my control&amp;#39;s default value (&amp;quot;None Selected&amp;quot;), where instead I would like them to be set as separately selected values.&lt;/p&gt;

&lt;p&gt;Anyone successfully done this before? Any help is greatly appreciated!&lt;/p&gt;</description></item></channel></rss>