Populate E-mail DDL based on other DDL - InfoPath Dev
in

InfoPath Dev

Populate E-mail DDL based on other DDL

Last post 11-15-2006 09:59 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-15-2006 10:20 AM

    Populate E-mail DDL based on other DDL

    I have a Drop Down List that has two categories: Category 1 and Category 2.

    I created two data connections, one to connect to Sharepoint Teamsite A's Contacts in, the other to connect to Sharepoint Teamsite B's Contacts. Both contact lists include first, last, full and email addresses.

    Within InfoPath, would there be a way to create an 'if..then' statement to say if category = Category 1 then use Teamsite A's Contacts, if category = category 2, then use Teamsite B's Contacts? If so, where and how would I do this?

    The reason I need this is I created a submit button that emails based off of the Contacts so it would be really REALLY helpful for me to be able to use the category to generate the appropriate list of Contacts.

    Any help would be much appreciated!
    Thanks!
  • 11-15-2006 09:59 PM In reply to

    Re: Populate E-mail DDL based on other DDL

    Hi KidThnkr1 and welcome to our forum!

    Yes, this is easy to do. Drag an optional section into your view from the data controls task pane. Move your dropdown for TeamSite A into that. Now double click on the optional section and set the conditional visibility to only show if the category is correct. Do the same actions with the TeamSite B dropdown.

    Let us know if you need more explicit help. Good luck!
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.