JSFiddle - React, Tailwind, and code Playground

HTML

<div class="label"><label class="field">Lodging Required?<span class="required">*</span></label></div>
        <div class="input"><table><td valign="top">
<input id="custom-105965_0" class="custom-105965" name="custom-105965" value="Yes" type="radio"><label for="custom-105965_0">Yes<br></label>
</td><td valign="top">
<input id="custom-105965_1" class="custom-105965" name="custom-105965" value="No" type="radio"><label for="custom-105965_1">No<br></label>
</td></table></div></div>
    </td></table></td></tr><tr><td><table width="100%"><td valign="top">
    <div class="fieldset" id="bsd-field-custom-105966-group">
        <div class="label"><label class="field">Lodging Check-in Date</label></div>
        <div class="input"><input id="custom-105966_0" class="custom-105966" name="custom-105966" value="Tuesday, 8/12" type="radio"><label for="custom-105966_0">Tuesday, 8/12<br></label>
<input id="custom-105966_1" class="custom-105966" name="custom-105966" value="Wednesday, 8/13" type="radio"><label for="custom-105966_1">Wednesday, 8/13<br></label>
<input id="custom-105966_2" class="custom-105966" name="custom-105966" value="Thursday, 8/14" type="radio"><label for="custom-105966_2">Thursday, 8/14<br></label>
<input id="custom-105966_3" class="custom-105966" name="custom-105966" value="Friday, 8/15" type="radio"><label for="custom-105966_3">Friday, 8/15<br></label>
<input id="custom-105966_4" class="custom-105966" name="custom-105966" value="Saturday, 8/16" type="radio"><label for="custom-105966_4">Saturday, 8/16<br></label>
</div></div>
    </td></table></td></tr><tr><td><table width="100%"><td valign="top">
    <div class="fieldset" id="bsd-field-custom-105967-group">
        <div class="label"><label class="field">Lodging Check-out Date</label></div>
        <div class="input"><input id="custom-105967_0" class="custom-105967" name="custom-105967" value="Wednesday, 8/13" type="radio"><label for="custom-105967_0">Wednesday, 8/13<br></label>
<input id="custom-105967_1"...

JavaScript

$(document).ready(function() {
 
    toggleFields(); //call this first so we start out with the correct visibility depending on the selected form values
    
        //Hide the fields initially
        $("#bsd-field-custom-105966-group").hide();
        $("#bsd-field-custom-105967-group").hide();
        $("#bsd-field-custom-105968-group").hide();
        $("#bsd-field-custom-105978").hide();
        $("#bsd-field-custom-105969-group").hide();
        $("#bsd-field-custom-105970").hide();
        $("#bsd-field-custom-105979").hide();
        $("#bsd-field-custom-105971-group").hide();
        $("#bsd-field-custom-105972").hide(); 
     
    
    //Show the fields only if lodging is required
           $("#custom-105965_0").change(function () {
        toggleFields();
    });


});
//this toggles the visibility of the other lodging fields depending on the current selected value of the "lodging required" field
function toggleFields() {
    if ($(("#custom-105965_0").checked)) {
    
        $("#bsd-field-custom-105966-group").show();
        $("#bsd-field-custom-105967-group").show();
        $("#bsd-field-custom-105968-group").show();
        $("#bsd-field-custom-105978").show();
        $("#bsd-field-custom-105969-group").show();
        $("#bsd-field-custom-105970").show();
        $("#bsd-field-custom-105979").show();
        $("#bsd-field-custom-105971-group").show();
        $("#bsd-field-custom-105972").show();
                }
                
                else  {
        $("#bsd-field-custom-105966-group").hide();
        $("#bsd-field-custom-105967-group").hide();
        $("#bsd-field-custom-105968-group").hide();
        $("#bsd-field-custom-105978").hide();
        $("#bsd-field-custom-105969-group").hide();
        $("#bsd-field-custom-105970").hide();
        $("#bsd-field-custom-105979").hide();
        $("#bsd-field-custom-105971-group").hide();
        $("#bsd-field-custom-105972").hide();
                }
        }