<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Infopath | Multiple Selection List Box - link to list + rules on selection</title><link>https://www.infopathdev.com:443/forums/thread/124800.aspx</link><pubDate>Fri, 01 Apr 2022 15:22:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124800</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124800.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124800</wfw:commentRss><description>May I see your form? You can attach it under the Options tab in a reply.</description></item><item><title>Re: Infopath | Multiple Selection List Box - link to list + rules on selection</title><link>https://www.infopathdev.com:443/forums/thread/124798.aspx</link><pubDate>Fri, 01 Apr 2022 09:37:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124798</guid><dc:creator>LittleMuffin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124798.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124798</wfw:commentRss><description>I now seem to be having an issue with the form saving the data in a text box which gets populated when the entry is created - let me explain further; so I have the form working correctly and updating the STATUS field based on the selection of the previous fields (COUNTRY and SURF BREAK) - this is done by a rule (setting the value of the STATUS field). However when I create an entry, save it and then open it again via the edit link (to the item), that STATUS field is blank... along with the &amp;#39;helper&amp;#39; fields I created to identify the overall status (those helper fields&amp;#39; rules are based on &amp;#39;when a value changes&amp;#39; so that might be why its not updating). I have tried to edit the properties of that STATUS field (and the helper fields - which save in the list when the form saves) to set the postback settings to &amp;#39;Always&amp;#39; but that doesn&amp;#39;t seem to help. Im kind of confused as to why I can see there is data in the helper fields (when viewing the list on SharePoint) but they are not populated when I edit the item?? Any ideas as to why and how this is happening?</description></item><item><title>Re: Infopath | Multiple Selection List Box - link to list + rules on selection</title><link>https://www.infopathdev.com:443/forums/thread/124797.aspx</link><pubDate>Fri, 01 Apr 2022 09:10:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124797</guid><dc:creator>LittleMuffin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124797.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124797</wfw:commentRss><description>Hey Hilary, cant see that I replied but thank you for the assistance on this one :)</description></item><item><title>Re: Infopath | Multiple Selection List Box - link to list + rules on selection</title><link>https://www.infopathdev.com:443/forums/thread/124778.aspx</link><pubDate>Tue, 15 Mar 2022 14:34:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124778</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124778.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124778</wfw:commentRss><description>Great job, glad you have it working!</description></item><item><title>Re: Infopath | Multiple Selection List Box - link to list + rules on selection</title><link>https://www.infopathdev.com:443/forums/thread/124777.aspx</link><pubDate>Tue, 15 Mar 2022 12:04:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124777</guid><dc:creator>LittleMuffin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124777.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124777</wfw:commentRss><description>Ok, so I have managed to get it working with an action off the multiple selection list box, when a value changes and have a backup of a button - thank you Hilary.                      I used this formula: eval(eval(XXX, &amp;#39;concat(., &amp;quot;; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)  and in XXX I selected the status field from the secondary list I have (showing RED/GREEN etc.) and applied a filter where the Country (secondary list) = country field (on the form) and the Surf Break (secondary list) = Value (which is the value of the multiple selection list box on my form *selecting the underlying value, not the group*).                      It now updates a text field with a list of status&amp;#39; and I can match off that and trigger some other actions! :D</description></item><item><title>Re: Infopath | Multiple Selection List Box - link to list + rules on selection</title><link>https://www.infopathdev.com:443/forums/thread/124775.aspx</link><pubDate>Tue, 15 Mar 2022 08:38:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124775</guid><dc:creator>LittleMuffin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124775.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124775</wfw:commentRss><description>Hi Hilary! 

Thanks for the reply and POC form - I am not sure why I didn&amp;#39;t think if having a button check the status and update it! Yes, those multiple selection lists are quite tricky indeed! I am thinking now that when the user submits the form (via a button) I trigger that action to check and update the status, which it will hopefully update just before saving. I noticed that when one of the &amp;#39;red&amp;#39; surf breaks was de-selected (with other green ones still selected) the check button didn&amp;#39;t update it back to green? Something I am missing perhaps? 

I have had a look at the expression you used and am completely lost haha, but I will try to decipher it and get an understanding - I dont know how you connected it to select the corresponding status field from the external list.. I know how to filter selections based on the external list but stumped on how to do this through actions attached in rules (the expression *kind* of makes sense) .

Anyway, appreciate your thoughts &amp;amp; time on this, I will continue to look at it and get my head around it :)</description></item><item><title>Re: Infopath | Multiple Selection List Box - link to list + rules on selection</title><link>https://www.infopathdev.com:443/forums/thread/124773.aspx</link><pubDate>Mon, 14 Mar 2022 22:22:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124773</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124773.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124773</wfw:commentRss><description>So, the biggest issue I see is that multiple selection list boxes can be kind of flaky - the rules that should run when selected / deselected don&amp;#39;t always seem to run correctly, and defaults don&amp;#39;t always seem to calculate correctly (i.e., sometimes you have to deselect an item to get the default to calculate). What about having a button for this? See attached - right click the sample form in the header and save locally. Right click the locally saved file and select Design and then preview. The data sample only has one country in it - just wanted to work up a quick POC for you :)</description></item><item><title>Infopath | Multiple Selection List Box - link to list + rules on selection</title><link>https://www.infopathdev.com:443/forums/thread/124771.aspx</link><pubDate>Mon, 14 Mar 2022 09:13:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124771</guid><dc:creator>LittleMuffin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124771.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124771</wfw:commentRss><description>Hi everyone

I have been working on a project and keep getting stumped with the outcome I want to achieve. I am fairly new to SharePoint/Infopath and hoping I can get pointed in the right direction, or confirmed what I am trying to achieve is not possible (hopefully the former). I know there are a few posts on here about multiple selection list boxes and through my digging I have found some great info which has definitely helped, but this is my problem...


The idea I am trying to achieve is essentially very simple; I have an external list (located on SP) which contains 3 columns - COUNTRY, SURF BREAK and STATUS (see attached file), my form has one drop down selector box for the COUNTRY field and a multiple selection list box for the SURF BREAK field... connecting them and filtering the available SURF BREAK options by the COUNTRY drop down box is all good, I&amp;#39;m fine with that (thanks to help on this forum). My issue comes when I want to pull the STATUS field from the external list depending on the options chosen in the multiple selection list box.  


For e.g. if we look at the external list and focus on Australia; it has three breaks and one of them has a red status, other two are green.... if a user chooses Australia in the first drop down, and then selects two SURF BREAK options (one red and one green), I want a text field to show the STATUS field of the chosen SURF BREAK, but if any items with a red STATUS are selected then it should override any green status&amp;#39;. Hopefully that makes sense but let me know if you need clarification. 


So what I want to do is pull through the STATUS field based on the set of chosen items selected in the multiple selection list box. I know that I can trigger actions when a user selects an item in the multiple selection list box, and also when they deselect one, but I cant think of any way to automatically pull the STATUS field &amp;amp; override any green STATUS if there are red ones. I have looked at this post which helped me quite a bit (https://www.infopathdev.com/forums/p/17850/62269.aspx) but I am still stuck coming up with a way to avoid any hard-coded rules etc. to determine if the overall STATUS is red - I need to be able to have the external list get updated from time to time by other parties and therefore avoid the work of hard-coding more options etc. down the line. 


I am using SharePoint 2010 / Infopath 2013 &amp;amp; any help or ideas would be very appreciated.


Thank you  :)</description></item></channel></rss>