KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Dependant BSelects #2005

Open Keith Burke opened this topic on on Mar 31, 2021 - 1 comments

Keith Burke commented on Mar 31, 2021

Hi,

Is it possible to have the drop down list dependent on another BSelect chosen value[s].

For example, I have two BSelect widgets. The first one shows countries. The second one shows cities. By default,m they both have all countries and cities selected. However, If I only select one or two countries in the first BSelect, I'd like to be able to only show the cities from the selected countries in the second BSelect.

Not sure if I'm explaining myself properly, so in summary... Can I filter a second BSelect based on selections from the first BSelect? Where the second BSelect shows its updated list on form refresh.

KoolReport commented on Mar 31, 2021

You can use the subreport like in this example.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

Inputs