ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Hide a filter based on another filter on query report

Hi,

I’m creating a new query report. I’d like to hide/show some filters based on a selection filter value.

For example, I have A, B, C three filters on this query report. The field type of filter C is selection, having MM and NN two options. I’m going to hide filter A and show filter B when MM is selected in filter C, hide filter B and show filter A when NN is selected in filter C.

Is it possible to implement this feature?

Can I use on_change function?

found anything about it?