InfoPath 2010 - Multiple Selection List Box - Rule Does Not Run When Unchecking Value

I have a multiple selection list box on a form. I have a rule that sets the value of another field. There is not condition. Just any time item is checked or unchecked the value of the other field should
change. This works when checking an item in the list box but not when unchecking the item in the list box. My question is - do rules not fire for a multiple selection list box when unchecking an item?

Hi,
I have tested in my lab environment, the rules seemed only fire for the latest checking action, and it did not fire when uncheck multiple-selection list box. Here is a workaround for your reference:
http://www.infopathdev.com/forums/p/17850/62269.aspx
However, I’d recommend you use check box instead, since it is much easier to set rule according to value of it. We can set it as true when we check the box, and set it as false when we uncheck it as below:
Then it is simple and clear to make rule according to the value of check box.
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety,
or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
Regards,
Rebecca Tu
TechNet Community Support

Similar Messages

  • Select MULTIPLE default values for a multiple selection list box based on another field in Infopath 2010

    Hello there - Before I explain my issue, I would like to point out that I have reviewed some other discussions on selecting default values for multiple selection listbox. But my issue is specific and different, and not answered by any of the discussions
    I visited.
    I have a multiple selection list box (say for example all countries in the world as values), and I would like to pre-select or setup multiple default values (say five countries) based on some criteria that I query from MS SQL database table.
    I know we can go to Data | Default Values option to setup one or many default values for multiple selection list box. When I enter the default values manually this works. I also right click the field under the Multiple-Selection List Box group, then select
    Add another Value Below and set the Default Value for this field to setup multiple default values.
    However, if I reference a field (either an infopath field or a field from SQL database) I am not able to setup multiple default values. Infopath automatically selects the last field I selected for all instances and in the end I am able to see only one
    default value selected instead of many. How to fix this problem? Why would infopath allow multiple default values when we enter it manually but not when we reference some fields?
    Please let me know if you need more info. Appreciate your help.
    Thanks!

    Hi redhotc,
    According to your description, my understanding is that you want to set multiple default values for a multiple checkbox list in InfoPath form.
    I did a test with SQL database table. I set three default values for the checkbox list by adding three values field under the group field(Data->Default values), each value field is for a default value. Then publish it to my SharePoint site, everything
    was fine.Please have a try as the below link:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Note: if you are using SQL databse table, you may need to enable ‘Allow cross-domain data access for user form templates that use connection settings in a data connection file’ in CA. More information, please refer to:
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010customization.aspx?ID=418b9423-a96c-4e5e-91f9-6a1b010ebb69
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to submit a multiple-selection list box in an Infopath Sharepoint form as multiple entries on a Sharepoint list?

    I would like to be able to submit an Infopath form with a multiple selection list box in Sharepoint as multiple entries on a Sharepoint list.
    For example, a user has to complete the following fields:
    First Name:
    Last Name:
    Favorite Color (can select more than one):
    [] Blue
    [] Red
    [] Yellow
    [] Green
    If the user picks blue AND red and submits the form, the Sharepoint list would feature TWO entries, both with their first and last names, but with different colors in the "Favorite Color" column.
    Please let me know if there is a way to do this. Any guidance would be helpful!

    Hi redhotc,
    According to your description, my understanding is that you want to set multiple default values for a multiple checkbox list in InfoPath form.
    I did a test with SQL database table. I set three default values for the checkbox list by adding three values field under the group field(Data->Default values), each value field is for a default value. Then publish it to my SharePoint site, everything
    was fine.Please have a try as the below link:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Note: if you are using SQL databse table, you may need to enable ‘Allow cross-domain data access for user form templates that use connection settings in a data connection file’ in CA. More information, please refer to:
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010customization.aspx?ID=418b9423-a96c-4e5e-91f9-6a1b010ebb69
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Set focus on item that selected in multiple-selection list box field in infopath

    Hi
    I have  multiple-selection list box field in infopath that have for example 40 items. (I customize sharepoint list with infopath),then
     publish infopath form in to sharepoint list. users want to add new item,when they selected or checked each item in multiple selection list box, after that automatically control focus on first item, but I want to focus remain on that item
    I was selected. Why this happen?! I also set postback settings to “never” in multiple-selection list box properties. But didn’t work.
    Thanks.

    Hi,
    According to your post, my understanding is that you wanted  to find several columns based on user selection of checkboxes in one of the Multiple-selection List Box.
    I recommend to customize the form to concatenate values from choice field (with multiple values) into single line text box, and then hide the fields based on the text box value.
    We can follow the steps as following:
    Add a text box control(filed 3) on the form to hold the value selection in the multiple selection list box.
    Set the default value for the text box control as
    substring-after(eval(eval(Value, 'concat(., ";")'), ".."), ";")
    (you need to change the ‘Value’ in the formula to your multiple selection list box name: filed1).
    Add the conditional formatting on the flied: flied 3 does not contain value (you need to change the ‘Value’ in the formula to your multiple selection list box value.).
    In addition, you can add Formatting action to hide the text box control.
    Here are the result screenshots for you to take a look at:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Checked some items of multiple-selection list box when form loaded in infopath

    Hi
    I customize sharepoint list with infopath. I have multiple-selection list box and want to checked some items of that automatically when form loaded. how can do this?
    Thanks.

    Hi,
    According to your description, my understanding is that you want to pre-select some items in the Multiple-Selection List Box.
    I recommend to follow the steps below to achieve this goal:
    Click Default Values under Data tab in InfoPath, expand the dataFields and navigate to the Multiple-Selection List Box field.
    Set the Default Value of the Multiple-Selection List Box field.
    Right click the field under the Multiple-Selection List Box group, then select Add another Value Below and set the Default Value for this field.
    Repeat step3 based on the number of the items that you want to be pre-selected.
    More information are provided in the link below:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How can I have multiple-selection list box "select at least one checkbox" option active only when the section it's in is visible?

    Hi, I'm using SP13 and InfoPath2013.
    I created a custom form and published it to SP13 document library.  This form has many MSLB.  Depending on the checkboxes selected in the 1st MSLB, the other MSLB will either hide or show.  Each MSLB is in its own section.  The requirement
    is to have each MSLB to have at least one checkbox selected.  Well, the problem is that when that MSLB isnot checked in the 1st MSLB it is not visible and shouldn't require any checkbox to be selected.  However, the form can't get submitted instead
    an error dialog would pop up and ask user to make a selection for MSLB that is not even displayed.  Is there any way to fix this besides unchecking all MSLB to be not required at least one selection?  Thank you.

    Eric, 
    I follow your reply post here and still doesn't work.  I also noticed your screen shot of selecting a field is not the same as what I see in InfoPath 2013.  
    Here is what I did, 
    1.Check At least one selection required for
    these Multiple-selection List Boxes
    as you want .
    2.Create a Formatting  rule for the 2nd
    Multiple-selection List Box.
    3.Add a  Condition as below:
    4.  I get a validation error if I don't
    select at least one checkbox in the hidden MSLB control when submitting.
    I think I'm following all the steps correctly
    but please let me know if I'm not.

  • Multiple-Selection List Box Values in Multiple Columns

    I am using InfoPath 2010 with SharePoint 2013. I have a form with a multiple-selection list box which has A LOT of choices. Instead of displaying all the choices in one column, is it possible to display the values of my list box in several
    columns? 

    Hi Andrea,
    I agree with Brij, one multiple-selection list box is associated with one list field, we cannot use the one multiple selection list box value for other multiple selection list boxes, we need to create multiple choices for each multiple-selection list box
    control in InfoPath form.
    Thanks
    Daniel Yang
    TechNet Community Support

  • Multiple Select List Box default value ysing Fx or Code

    Hello,
    If anybody could help me in figuring out how to set default or customized values (checked) for a multiple select list box in infopath based on a values in a secondary data connection using the fx function or code, instead of manually typing in text in the
    default value function, it would be really helpful. Have been stuck for eternity in this 
    I have a temp table now which has each student name and the subject separtely
    something like this 
    Student Name       Subject  
    AA                              
    English
    AA                              Maths
    So that in my infopath form if I choose a student name in a drop
    down box the multiple selection list box has the values of the subject chosen by the student checked

    Hi,
    Please check the link below and see if it can meet your requirement:
    http://basquang.wordpress.com/2010/03/29/cascading-drop-down-list-in-sharepoint-2010-using-infopath-2010/
    Here is the design for your scenario:
    List1 for subject name
    List2 for student and subject (just as your temp table)
    Then you could create cascading drop-down in InfoPath form.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Value of Multiple-Selection List box is not appearing "calculated value" field of it

    Hello,
    We have created one selection list box using control "Multiple Selection List Box", where user can select one or more values.
    We have created one view in InfoPath form, which have calculated value of fields(just showing purpose and printing purpose this view has ben created).
    In this when we try to show calculated value of field is of Multiple Selection List Box, it's showing as "Off".
    Could you please help us out.
    Thanking you in advance.
    Regards,
    Jayashri

    Hi,
    Thanks for your sharing! It will be beneficial to others in this forum who meet the same issue in the future.
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Change from 4.5 to 5,1 with multiple select list boxes

    Had a multiple select list box which worked fine in 4.5 i.e
              a comma seperated list would be passed to the corresponding set method
              in the bean. We switch to 5.1 and this no longer works any one know of
              the solution or a work around to the problem
              Hugh McBride
              [email protected]
              

    Vladimir,
              I am using a JSP/Java Beans design where the name of the
              set
              method in the bean match the name of the ui component so when the form
              is submitted the method in the bean is automatically called. The method
              request is a workaround but one we wanted to avoid using
              Thanks
              Hugh McBride
              [email protected]
              Vladimir Andral wrote:
              > How are you getting the values? request.getParameter()?
              >
              > You should be using request.getParameterValues() if the parameter
              > has more than one value.
              >
              > Check out the documentation for the HttpServletRequest interface.
              >
              > --
              > Vlad
              >
              > Hugh McBride wrote in message <[email protected]>...
              > >Had a multiple select list box which worked fine in 4.5 i.e
              > >a comma seperated list would be passed to the corresponding set method
              > >in the bean. We switch to 5.1 and this no longer works any one know of
              > >the solution or a work around to the problem
              > >
              > >
              > >Hugh McBride
              > >[email protected]
              > >
              

  • Multiple selection List box

    Hi All,
    Is there a UI element that will enable me to have a multiple selection list box (or similar)?
    How do I go about implementing one if its not available, ie is there a workaround?
    Thanks
    TM.

    This is a (IWD)Table with single column, selection mode "auto" or "multi", table should be bound to node with cardinality 0..n and selection 0..n
    VS

  • RT does not run when deployed to 9642 sbRIO LV 2011

    I have code deployed to a Ni sbRIO9642 where the RT code does not run when deployed to the when using LabVIEW 2011. It appears the NI-RT.ini file on the target is not being properly configured. I manually configured the ini file using FTP and the RT still will not run. I built a small test application and the RT on that did not run either, although i had hard validatiuon that the FPGA code was indeed running. Thanks - Keith

    Hey Martin, 
    I don't know if this specific problem was resolved, but there was a known issue in LabVIEW Real-Time 2011 (sp1) that exhibited this behavior. 
    Shared Variables
    292012
    Return
    Real-Time Applications containing typedef Shared Variables fail to run.
    If you are building an RTEXE that contains Shared Variables whose data type is based upon a type definition and the build specification is configured to disconnect type definitions the RTEXE will not run.
    Workaround: 1.) Manually disconnect the variable from the typedef before building the application 2.) Change the build spec so it doesn't disconnect type definitions
    Reported Version: 2011 32-bit
    Resolved Version: 2012
    Added: 10/11/2011
    Although this has been fixed in 2012, and shouldn't be an issue for you developing in LabVIEW 2012. Have you tried implementing a heartbeat VI? to verify if your RT app is actually running and not communicating? (great example here)
    Do you have the system state pushier installed on your cRIO? does it point to a memory leak or 100% CPU utilization? (steps to install it found here, if you're not familiar)
    Are you using the cRIO in Scan Interface mode? or in the FPGA interface? 
    Applications Engineer
    National Instruments
    CLD Certified

  • Multiple Selection List Box-- Data Display

    I want to build a form which reports all of the multiple selections made by users from a list box. When I test the form, only the first selection is reported in the dataset. How do I configure the form so that when data is compiled, each of the selections from the list box is reported in sequence?

    LiveCycle Designer forms do not support multiple selections for a listbox. If you want that feature, you will have to use the Listbox and select the "multiple selection" option, the Cmbobox will not work, in Acrobat forms. You will also have process the selection array, it is not a single value.

  • List data validation failed when creating a new list item but does not fail when editing an existing item

    Dear SharePoint Experts,
    Please help.
    Why does my simple formula work in Excel but not-work in SharePoint?
    Why does this formula...
    =IF([Request Type]="Review",(IF(ISBLANK([Request Date]),FALSE,TRUE)),TRUE)
    ...work in Excel but fail when I try to use it in SharePoint?
    The intent of this formula is the following...
    If the field "Request Type" has the value "Review" and the field "Request Data" is blank then show FALSE, otherwise show TRUE.
    SharePoint saves the formula, but when a list item is saved where the formula is implemented, (under List Settings, List Validation), SharePoint does not, say anything other than that the formula failed.
    Note that the "list data validation failed" error only happens when I am creating a new item-- the formula above works just fine when one is trying to Save on the edit form. 
    Can you help?
    Thanks.
    -- Mark Kamoski

    Dear Jason,
    I appreciate your efforts.
    However, it seems to me that this statement of yours is not correct...
    "If it meet the validation formula, then you can new or edit the item, otherwise, it will throw the 'list data validation failed' error, it is by design".
    I believe this is NOT the answer for the following reasons.
    When I create a new item and click Save, the validation error is "list data validation failed".
    When I edit an existing item and click Save, the validation error is "my custom error message" and this is, I believe, the way it needs to work each time.
    I think, at the core, the error my formula does not handle some condition of null or blank or other default value.
    I tried a forumla that casts the date back to a string, and then checked the string for a default value, but that did not work.
    I tried looking up the Correlation ID in the ULS when "list data validation failed" occurs, but that gave no useful information because, even though logging was set to Verbose, the stack trace in the error log was truncated and did not given any
    good details.
    However, it seems to me that SharePoint 2013 is not well-suited for complex validation rules, because...
    SharePoint 2013 list-level validation (NOT column-level validation) allows only 1 input for all the multi-field validation formulas in a given list-- so, if I had more than 1 multi-field validation rule to implement on a given list, it would need to be packed
    into that single-line-of-code forumla style, like Excel does. That is not practice to write, debug, or maintain.
    SharePoint 2013 list-level validation only allows 1 block of text for all such multi-field validation rules. So that will not work because I would have something like "Validation failed for one or more of the following reasons-- withdrawal cannot exceed
    available balance, date-of-birth cannot be after date-of-death,... etc". That will not work for me.
    The real and awesome solution would simply be enhancing SP 2013 so that column-level validation forumlas are able to reference other columns.
    But, for now, my workaround solution is to use JavaScript and jQuery, hook the onclick handler on the Save button, and that works good. The only problem, is that the jQuery validation rules run before any of the column-level rules created  with OOTB
    SP 2013. So, in some cases, there is an extra click for the enduser.
    Thanks,
    Mark Kamoski
    -- Mark Kamoski

  • Applescript run from Mail rule does not run

    I am attempting to run an Applescript from a Mail rule. Basically, the Applescript does not run.
    Stripped to the bare essentials, the following script runs fine when Applying a rule in Mail:
    say "Hello"
    as well as this one:
    say "Hello"
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    -- statements to process each message in theMessages
    end tell
    end perform mail action with messages
    end using terms from
    But, when I remove the comments from the block lifted verbatim from the Applescript manual:
    say "Hello"
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    -- statements to process each message in theMessages
    end tell
    end perform mail action with messages
    end using terms from
    the script does not even say Hello.
    I am trying to go as far as having the Applescript create a new ToDo based on specific incoming emails, but I can't get any but the simplest Applescript to run.
    Can anyone help me?
    Tom

    The script works just fine - at least, as designed if not as expected.
    When the script runs, Mail and/or AppleScript looks for a perform mail action handler. If that is found, the commands within are executed.
    If there is no perform mail action handler then the script is run as-is (i.e. as if you clicked 'Run' in AppleScript Editor).
    And that's exactly what's happening here. In the first case (that works) the script is running because there's no (visible) perform mail action handler.
    In the second case where it apparently doesn't work, there is a handler, so that handler is being executed. Any code outside that handler is ignored (unless it's called from within the perform mail action handler.
    Since your 'say' command is outside the handler, it is ignored. However, if you move it inside the perform mail action handler you'll hear your speech.

Maybe you are looking for

  • How can I find out the series of my laptop

    Hi I have HP Envy dv6 Notebook pc. I has 15" screen and i7 cpu. I had enough with windows 8, and i installed windows 7 pro. I am finding it difficult to find the drivers. I have lost all the sticker from my laptop, which can identify the laptop serie

  • How do you xfer info from ipad2 to iMac?  Is there a specific icon in iTunes for this?

    How do you xfer info from ipad2 to imac? Is there an icon on itunes to do this?

  • How do I delete OS 9 Classic?

    I just don't use Classic any more and want to delete it. What do I need to transfer or do before I delete it? What files do I delete? Do I need to transfer fonts from Classic over to OS X v10.4? Thanks for any help. Chuck Miller

  • Odd cell behaviour

    I have an odd problem with cell. If I format a cell normally with more text than one line and say wrap (or break, I use a german version of numbers and don't know the correct english expression) the text is properly on two lines. If I format the cell

  • Looking for DELL Webcam Central software and the webcam software updates

    My laptop is DELL XPSM1530. I read that the webcam was made by Creative Technology. Recently, I read in DELL.com that there is a software named DELL Webcam Central. It was said that it can improve the camera performance. I have looked for it in DELL.