Forums Forums Search & Filter Pro How to filter dropdown field by condition

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #147787

    Hi, is there a hook or filter to add condition (ex: is empty) to dropdown showing field?
    We need to hide some option if other condition is verified (for example if a post has related past events). How can we do that? Thank you

    Trevor
    #147788

    If this is to happen with the form as the user interacts with it, then I guess you can use javascript to do this (hooked to the change event), or if you need to change values shown, you can use the Filter Input Object filter.

Viewing 2 posts - 1 through 2 (of 2 total)