A substitute for a multi-selection list box? - InfoPath Dev
in

InfoPath Dev

A substitute for a multi-selection list box?

Last post 05-29-2009 02:02 AM by swathip. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-22-2009 01:49 PM

    • Pugdad
    • Not Ranked
    • Joined on 05-20-2008
    • Posts 3

    A substitute for a multi-selection list box?

     

    I am new to InfoPath and I what I am trying to get at this point is to have a direction on how to acoomplish a particular task.

    I have a multi-selection list box that displays a series of option names originating from a Sharepoint list.  As the user selects an option, the value of their selection is appended to a text box so that the ending result is a text value showing all the options selected.  Technically, this works fine for our use.  However, if a user made a wrong selection, it is cumbersome for them to cut the wrong name out (in fact, with all due respects, some of our users may not even know how to highlight and delete text).  Another potential problem using this method is that options may be selected twice and that generates a duplicate name in the text box (not a killer problem, just a little confusing for those who process it).

     Is there a way I can handle this situation more cleanly?

    I have thought that check boxes would serve the application better - that way the user can "turn on/turn off" their selection but I don't know of a way to associate a series of check boxes to the contents of the list box.  I tried just putting them to the left of the list box but they don't line up properly.  I also don't see how I can add the check boxes to a table that has the option names displayed either.  But it is entirely possible that my problem is simply due to my unfamiliarity with the controls.

    Can anyone offer some insight on how I can accomplish this task?

    i appreciate your help.

     

     

    Pugdad
    Dallas, TX
  • 05-29-2009 02:02 AM In reply to

    Re: A substitute for a multi-selection list box?

    Hi,

    You can achieve your requirement using the below steps.

    1. Go to Multi selection list box properties. Add a rule.

    2. Add a rule to set the text box value as concat(textboxfield, multiselectfield).

    3. Now go to text box properties.

    4. Enter the default value as eval(multiselectField,"..")

    5. Click ok.

    Swathip
    www.ggktech.com
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.