Sections with conditional formatting

By: Kimberli Burns | Asked: 07/10/2023
ForumsCategory: How-toSections with conditional formatting
Kimberli Burns asked 1 year ago
I have 3 sections at the top of my form.  If radio buttons 1, 2, or 3 in Section A are selected, Section B is to appear.  If radio button 4 is selected in Section A is selected, Section C is to appear.  Section B and C are hidden until the section is made, this is working correctly, and I want the CSS Layout Class for each section to remain frm6 to fill the page when they are selected but they are defaulting to frm3.  I understand why however, is there a way to code this so it's an "either or" appearance? I've attached a drawing to better explain.  
Attachments
1 Answers
Victor Font answered 1 year ago
You can do what you want with custom code. Changing CSS classes on the fly requires custom jQuery.
Kimberli Burns replied 1 year ago

Thank you for the confirmation. I was hopeful this was the answer.

I know enough about CSS to be a danger but I have someone that can probably decipher for me.

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