Show user different div depending on chosen radio/checkboxSOLVE
Sep 10, 2020 7:08 AM
I'm tackling an issue where I want to manage multiple content and products on one page. I do not want to show a wall of content, so the idea is to let the user decide which content user would like to see - using radio buttons or checkboxes.
Question: Can I show different content (multiple div) for the specific selection made by the user? For example, user selected option 1 (from 1 to 3) and I'm dynamically showing content a,b (from a,b,c,d,e), then, if the user changes to option 2, I'm showing content c.
Thanks for any tips!
Solved! Go to Solution.
Sep 11, 2020 9:08 AM - edited Sep 11, 2020 9:11 AM
Hi @AdamPokora , i have 3 ideas for this.
1) You can use tabs to control content. Look one example: https://ead.univali.br/bolsas-de-estudos-ead
If you need the code for tabs, i can sent to you my code.
2) You can create filters with HubDB. Look an example: https://ead.univali.br/cursos-graduacao
3) You can use too the smart content in rich text fields to show the content based on list, and in lists you can define with chosen radio/checkbox in form. But for this second option i believe need 2 pages. One to the form, and the second page with all contents in smart condition.
Did this post help solve your problem? If so, please mark it as a solution.
Best regards! 🙂