Forums › Forums › Search & Filter Pro › Dropdown select exceptions
Tagged: dropdown, exceptions
- This topic has 4 replies, 2 voices, and was last updated 8 years, 2 months ago by Anonymous.
-
Anonymous(Private) September 28, 2016 at 8:24 am #60728
I have a situation like this:
Dropdown:
– Apartment
– House
– Ground patchAnd 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!
Anonymous(Private) September 28, 2016 at 3:00 pm #60828So 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 selectCorrect?
Could actually work. I would also avoid some annoying issues that way. ๐
-
AuthorPosts