Change filter subpanel based on custom field

Take a look into this post for some ideas:

Thanks,

AlxGr