Forums › Forums › Search & Filter Pro › Load next field depending on first choice
- This topic has 5 replies, 2 voices, and was last updated 9 years, 9 months ago by
Trevor.
-
Anonymous(Private) July 14, 2016 at 3:31 pm #51180
Hi Ross,
I was wondering if it is possible to load a new form field depending on the first choice.
An example:I got for main categories:
– food
– drink
– entertainmentIn the category “food” there are children:
– breakfast
– lunch
– dinner
– BBQIs it possible to select food, and have the next field automatically load (fill with) the children of food in the same window. Likewise for the other categories?
Cheers.
Anonymous(Private) July 14, 2016 at 3:40 pm #51183I’d love to do that. But I’m not that great of a coder.
Is there some place I could start? I assume there is a trigger somewhere in the code that you should use.It’s probably something like
if food addClass (showItem);
And have your CSS .showItem { display:block;}
Like I said I’m not that of a coder 🙂
Trevor(Private) July 14, 2016 at 3:45 pm #51184It is not something I can do for you, but if you search StackExchange for ideas An example Google search I would start with:
site:http://stackexchange.com/ jquery conditionally hide/reveal form controls based on changes in formBe warned, it will get heavy (learning).
-
AuthorPosts