How to populate a drop-down list box from other text boxes on the form - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How to populate a drop-down list box from other text boxes on the form

Last post 03-02-2010 06:42 PM by Jimmy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-02-2010 11:54 AM

    • g21cincy
    • Top 150 Contributor
    • Joined on 10-20-2008
    • Cincinnati, OH
    • Posts 64

    How to populate a drop-down list box from other text boxes on the form

    Hello,

    I'm trying to populate 4 drop down lists with the same group of names. I'm guessing I'll just have to use the same solution 4 different times for each variable name. Below is an example of what I'm trying to do. Keep in mind that the first part of where they fill in their first name and last name in separate text fields is on the page before the drop-down list boxes. The user can save the data on each page. Any help on this would be greatly appreciated. I was told that I might have to create a secondary data source and programmatically add/remove items to the data source. I'm not really sure how to do that though. 

    Example:

    These are 5 rows a user can fill out with separate boxes for the first and last names.

    First Name1                        Last Name1

    First Name2                        Last Name2

    First Name3                        Last Name3

    First Name4                        Last Name4

    First Name5                        Last Name5

     

    On the next page they want these names to be populated in a drop down list as follows (the First Name and Last Name are concatenated together):

    First Name1 Last Name1

    First Name2 Last Name2

    First Name3 Last Name3

    First Name4 Last Name4

    First Name5 Last Name5

     

  • 03-02-2010 06:42 PM In reply to

    Re: How to populate a drop-down list box from other text boxes on the form

    It's possible to do this without code, but it would require that these first and last names be in a repeating group instead of 10 separate fields.  Is there a reason you're not using a repeating group for this?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.