I found the problem why the labels are below the radio button, instead of to the right of it, and why the border is missing around the group of radiobuttons. There is a difference between default CF7 radio button and DTX: there is an extra SPAN to create the border around the buttons. The class “wpcf7-form-control wpcf7-radio” is added to the extra SPAN. in DTX the class is assigned to the Input, but you have multiple inputs in a set of radio buttons. with Radiobuttons, this class should go to the SPAN, not the Input itself.
I can fix this by changing line 320 in utilities.php, add an if statement to exclude this part of the code when it is a radio button:
now the class is no longer assigned to the input when it is a radio button. then adapt: line 610 in contact-form-7-dynamic-text-extension.php to add the extra SPAN in a Radiobutton group with the correct class: “wpcf7-form-control wpcf7-radio”
Hi! I just wanted to pop-in and say I read this and will add it in the next update in September. My day-job and side hustle have kept me busy so I haven’t had the time to provide the free support and updates as I would like to. Thank you for your work!
I’ll reply here and mark as done when the update is released as well.
Popping in to prevent this thread from automatically closing. This fix will be included in version 6. I just released version 5.0.4 today and wanted to give you a heads up when you go to update.