Skip Navigation

[Resolved] I would like to show a field conditionally

This support ticket is created 7 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 7 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#552324

I have a view that is searching posts by various custom fields.
I would like one of the search options to appear only if a previous option has a particular option selected.

For instance. If I have

Dropdown 1
- A
- B
- C
- D

Dropdown 2
- A
- B

I would like Dropdown 2 to appear ONLY if option D is sectioned by Dropdown 1. Is this possible?

And one second (somewhat related) question. I'm displaying results in a modal. I'm using the trigger

js_event_wpv_parametric_search_results_updated

to show the results. Is there another trigger that will fire when you press SUBMIT but not RESET?

Thanks!
David

#552365

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - there is no such option available to create dependent dropdown and eventually, that needs custom programming and that is beyond the scope of our support policy.

If you need custom programming for your project, please feel free to contact our certified partner.
=> https://toolset.com/consultant/

Still - you can check following links that may help you to build dependent dropdown:
=> hidden link
=> hidden link
=> hidden link

Regarding JS event callback, those are available for as Ajax callback not on click event. For click event, you need to configure on your own and again that is part of custom programming.