SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have a multivalued list box "Release Scope" and it is just 3 values.

enter image description here

i try to use a Rule that whenever the Value 'contains' "Targeted" then something will happen.

this doesn't work. how can i access the values to perform logic accordingly in my form?

enter image description here

share|improve this question
up vote 3 down vote accepted

I ran into possibly this same issue, I couldn't find a solution online, but after some poking around in InfoPath 2010, I found it.

For a condition based on multi-valued selection, when setting up the conditional rule, in the field selection, you have to go to Select a field or group... > Your MultiValued Listbox > Show Advanced View > Select: All occurences of Value

This will then allow you to use contains or not contains and will check that each selected item meets your criteria.

In your second screenshot, your condition only checks Value which will only check the first item selected in your MultiValued Listbox.

share|improve this answer
Wow, 2 hours of googling, finally found your answer, which did the trick. Thank you! – russds Jun 24 '15 at 23:22

You will have to hide the section, based on a rule where a field does not contain "Targeted".

Here is a test form that shows how you can apply rules to show and hide a section. Test form for InfoPath

share|improve this answer
Please explain. I don't see the logic of how that can work or be implemented. I add a Form Load event that does what, there's not an action for 'hide a section'. – April Drake Apr 19 '13 at 21:33
Appologies, you are right there is no formatting on Form load. I have done a test form for you, check it out how I have applied the rules. Here is a link to a test form: Test InfoPath Form -… – MicrosoftDevX Apr 22 '13 at 0:27
i'm sorry but this is not the answer. i'm asking about a MULTI-VALUED list - your answer was just simple form rules applies to checkbox binary value. if you could try my example and show me how it would work, using a multi-valued list item that would be great. – April Drake Apr 22 '13 at 18:55
This works for me except for one thing. I have five choices. If a choice is selected I want to unhide a section below for that choice. Users can pick more than one choice which should unhide all selected choices. However, only the first selected choice unhides the following section. No matter how many I choose after that the sections don't hide. – user16652 Apr 26 '13 at 16:10
can you show me the pic of the Rule you have that actually works even for the one choice? – April Drake Apr 26 '13 at 18:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.