Home › Forums › Front-end Issues › Creating a chained question and answers form › Reply To: Creating a chained question and answers form
I’m not sure if I fully grasp what you’re trying to accomplish, so I could be way off here… but, if it’s a matter of drilling down deeper and deeper, I could envision using a custom hierarchical taxonomy to do something like this. You select the parent term and it displays the possible child options, over and over.
Something like this:
— Possible Engine Issue 1
— Possible Engine Issue 2
– Gear Box
…and so on.
Again, maybe that’s a stupid idea for your use case. Regardless, by using ACF fields on the actual terms themselves, you could specify a “question” field that is associated with each term and displayed to the user.
So for example, if the user chose “the engine”, on the next screen they would see the question associated with that term. Like “Which of the following symptoms is your engine experiencing?”, then the child terms of “Engine” are displayed.
In any case, good luck with your project!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.