How to set multiple values to a field? - InfoPath Dev
in

InfoPath Dev

How to set multiple values to a field?

Last post 02-01-2010 11:43 PM by Jimmy. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-01-2010 02:07 AM

    • Markus
    • Not Ranked
    • Joined on 01-26-2010
    • Posts 7

    How to set multiple values to a field?

    Scenario: I have 2 drop down fields at my form and I would like to achieve that the set of available values at field B is dependent on the selection at field A. Is there any chance to add multiple values to "Set a fields value" - Value window?

    Thanks!

  • 02-01-2010 11:47 AM In reply to

    Re: How to set multiple values to a field?

    Sure! You would need two rules, and each rule has a condition. For example:

    If field1 = apples, set field2 = 1.

    If field1 = oranges, set field2 = 2.

    Does that make sense?

     

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


  • 02-01-2010 11:31 PM In reply to

    • Markus
    • Not Ranked
    • Joined on 01-26-2010
    • Posts 7

    Re: How to set multiple values to a field?

    Hi - that makes defenitely sense! Thanks! But what if I need to assign multiple values to a field like If field1 = fruits, set field2 = oranges, apples or pine apple / if field1 = IT, set field2 = laptop, pc or netbook

    Would that be possible too?

  • 02-01-2010 11:39 PM In reply to

    Re: How to set multiple values to a field?

    that is perfectly ok, nothing wrong with it

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 02-01-2010 11:43 PM In reply to

    Re: How to set multiple values to a field?

    The feature you're describing is called "cascading dropdowns" and there are blog posts and dozens of forum threads discussing the topic on this forum.  Just use the search feature to the above right.

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