Skip Navigation

[Resolved] How to add dependent fields on a form?

This support ticket is created 5 years, 10 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.

This topic contains 1 reply, has 1 voice.

Last updated by Dee_DeeA2948 5 years, 10 months ago.

Author
Posts
#1185436

Tell us what you are trying to do?
I'm looking to add dependent fields or a group of fields. For example, imagine a dropdown field containing cars. Honda, Hyundai, Subaru, etc. When someone clicks "Honda" in the dropdown, new fields appear based on this selection. Perhaps, "make & model". I'm trying to achieve the same idea.

If someone selects ABC in the dropdown, I want 4 new fields to appear on the form as the user is filling it out. It's a custom-type "post form".

Is there any documentation that you are following? No. I was able to find out how to show/hide on the output (submitted form), but I couldn't figure out how to show this on the form as someone is filling it out.

#1185701

A support rep answered a different question that resolved this issue. I referenced this link that he provided:

https://toolset.com/documentation/user-guides/conditional-display-for-form-inputs/