Skip Navigation

[Resolved] Conditional display of select items based on a previous select item

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 1 year, 7 months ago.

Assisted by: Waqar.

Author
Posts
#2612691

Tell us what you are trying to do? On this view - hidden link
When Manufacturer is set to "Crestline", we'd like to only display the models that are under it which are:
New Era
FleetMax Next Generation
CCL 150
FleetMax
Summit
Commander
Icon 2.0

And if Manufacturer is set to "Demers" it will display the models:
MX 164
MX 170
MX 152
MX 151
MXP 150
MXP 170
EX Sprinter
Transit Type II

It is expected to be the same on the back-end.

Is there any documentation that you are following?
No, I can't find any. I'm hoping you can point me to that one. I probably just need the right phrase to search.

Is there a similar example that we can see?
hidden link - this is using ACF
When a Service is selected, say "Roofing", it populates the specific Products under Roofing.

What is the link to your site? hidden link

#2612827
search-setting-example.png

Hi,

Thank you for contacting us and I'd be happy to assist.

You can select the option 'Show only available options for each input', in the view's 'Custom Search Settings'.
( example screenshot attached )

As a result, whenever a selection is made in any one of the search fields, the entire form will be updated, so that only the relevant options are available for further selection.

You'll just have to ensure that in terms of data entry, the correct models and manufacturers are stored with these posts in the back end.

I hope this helps and please let me know if you need further assistance.

regards,
Waqar