Cascading Dropdowns - InfoPath Dev
in

InfoPath Dev

Cascading Dropdowns

Last post 04-28-2020 10:16 AM by Froman. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-27-2020 11:23 AM

    Cascading Dropdowns

    I've been using a secondary data connection and filtering the results to get cascading dropdowns to work. I just stumbled across another method that uses query fields and rules to do the same thing. in what cases would one method be better than another? Thanks
  • 04-27-2020 02:12 PM In reply to

    So - if your dropdowns are in a repeating section, it is probably best to just query for all the data (as long as it doesn't impact load times for the form or cause other issues because the data load is huge). That's because if you requery the data source for the initial dropdown on each selection, you could end up with no data available if the user goes back to change an option in a prior row. Let's say your dropdowns are State and City. In row 1, the user selects WA for state. You query the city list for all cities where State = WA. User selects Seattle. In row 2, the user selects OR for state. You query the city list for all states where the State = OR. The user selects Portland. All is good so far! But now the user decides to change Seattle to Tacoma in Row 1. The State hasn't changed, so the query hasn't re-run. All the cities in the secondary list for cities are those where the State = OR. So when the user tries to change Seattle to Tacoma - all she sees is Oregon cities in the City dropdown. Make sense?
    Hilary Stoupa

  • 04-28-2020 10:16 AM In reply to

    thanks, that does make sense!!
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.