Forums Forums Search & Filter Pro Dropdown select exceptions

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #60728

    I have a situation like this:

    Dropdown:

    – Apartment
    – House
    – Ground patch

    And below that:

    – City (Dropdown)
    – Price (range slider)
    – Property size for buildings (range slider)
    – Property size for buildings ground patch (range slider)
    – Property size for stand-alone ground patch (range slider)

    I would like to disable “property size for buildings and buildings ground patch” in case “ground patch” on dropdown is selected and disable “property size for stand-alone ground patch” if apartment or house is selected on the dropdown.

    Is there an option for this in your plugin settings? And if not, will simple javascript be enough, for example “display: none”? Will that prevent your plugin for requesting all the fields that it uses? Because now I have a problem, for example, when the dropdown selected item detects that Apartment or House don’t have stored “stand-alone ground patch”, search results are empty.

    Thanks!

    Trevor
    #60757

    I suspect that what you need is 3 separate forms, where the

    โ€“ Apartment
    โ€“ House
    โ€“ Ground patch

    choices are a control that reveals/hides the forms (sort of like a tabbed area on the page)

    Anonymous
    #60828

    So basically you are suggesting that I should:

    – Create couple of forms (3 in this case)
    – Hide the forms (at least 2 of them)
    – Have the dropdown list outside the forms and use javascript to reveal the needed form on dropdown item select

    Correct?

    Could actually work. I would also avoid some annoying issues that way. ๐Ÿ™‚

    Trevor
    #60830

    Yes, that is what I am saying.

    Anonymous
    #60868

    Thank you for your help, solved. ๐Ÿ™‚

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