Multiple Values from Drop Down list box - Browser - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Multiple Values from Drop Down list box - Browser

Last post 05-14-2012 02:10 PM by Big E. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 05-07-2012 07:47 AM

    • Big E
    • Top 500 Contributor
      Male
    • Joined on 02-18-2009
    • Alabama
    • Posts 35

    Multiple Values from Drop Down list box - Browser

    I would like to be able to have a text box to display multiple values from a drop down list box.  Is there a way to select from a drop down --> have that populate a text box --> clear the value of the drop down --> select another drop down value --> concat the new value with the previous selection?  This is for an injury/illness type report and there could be many selections.  I do not want to have to setup a bunch of check boxes like it is now.  That takes up too much space on the page and I will also have to add a lot of data sources to make this happen.

    Thanks,
    Eric

  • 05-07-2012 09:01 AM In reply to

    Re: Multiple Values from Drop Down list box - Browser

    Have you tried the multiple selection list box control?  It only requires a single repeating node for your data source.  If space on the form is an issue, you can also make the control smaller and use scroll bars instead of displaying all the options. I would say this is definitely the easiest approach to handling multiple values.

    If you still prefer your approach, you could probably accomplish this using a few rules.  You would need a dropdown field and then another field to store your concat string.  Create a rule when the value for the dropdown changes to concat that value with your concat string and store it in the concat string field.  Then just clear the dropdown and you're ready for the next value.  This solution won't prevent users from entering the same value twice though.  That would require some more logic to build in.  Hopefully this gives you a good start!

    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

  • 05-07-2012 12:27 PM In reply to

    • Big E
    • Top 500 Contributor
      Male
    • Joined on 02-18-2009
    • Alabama
    • Posts 35

    Re: Multiple Values from Drop Down list box - Browser

    Where is the multiple selection list box control?
  • 05-07-2012 01:11 PM In reply to

    Re: Multiple Values from Drop Down list box - Browser

    If you're using 2010, it will be in the controls gallery for browser forms.

    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

  • 05-07-2012 01:59 PM In reply to

    • Big E
    • Top 500 Contributor
      Male
    • Joined on 02-18-2009
    • Alabama
    • Posts 35

    Re: Multiple Values from Drop Down list box - Browser

    I'm using 2007 browser based.
  • 05-14-2012 02:10 PM In reply to

    • Big E
    • Top 500 Contributor
      Male
    • Joined on 02-18-2009
    • Alabama
    • Posts 35

    Re: Multiple Values from Drop Down list box - Browser

    *** Problem soved ***

     I ended up using "DelimitedList" inside of qRules along with a repeating dropdown list box, and a text box to accept the delimited value.  This will get me by and does what I need it to do until we finally upgrade to 2010.  Ended up with 8 different sections that fire the qRules control.  Thanks for all of the help on this.

Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.