Guys I need help with conditional radio button!

By: Wassime Fourkaoui | Asked: 10/31/2024
ForumsCategory: General questionsGuys I need help with conditional radio button!
Wassime Fourkaoui asked 14 hours ago
Hi everyone, I'm looking to recreate a radio button logic similar to what we have on our old website (in the "Optionen" section):
https://www.datenschutztage.de/anmeldung/ Could anyone assist me with setting this up? Support mentioned I would need custom code and suggested reaching out to the community. They've provided an XML file that's almost there, but I could use some guidance to finalize it. I would be truly grateful for any help. Thank you so much! 

PS: under my new website https://datenschutztage.super-devel.de/anmeldung/ is the most solution I got to till now, Best regards,
Wassime
Attachments
1 Answers
Bobby Clapp answered 10 hours ago

Nested radios aren't a function of FF, which you've found out. We can't do the work for you here but you'll need to use some jquery and code some custom radio iniputs. You'll have to go into the "customize HTML" side of the view and then play around with inputs and the hide/show function of jquery: https://www.w3schools.com/jquery/jquery_hide_show.asp

Radio input reference; https://www.w3schools.com/tags/att_input_type_radio.asp

Your code would end up looking something like this in the customize html for the representative field: https://formidableforms.com/knowledgebase/checkboxes-radio-buttons/#kb-display-text-in-between-options

You'll have to wrap the custom radio input around the appropriate "[opt=1] [opt=2]" and then maybe "[opt=3] [opt=4]".

Something like: https://paste2.org/6UpOX9b5

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right