JSFiddle - React, Tailwind, and code Playground
HTML
Question 3
<figure class="fig">
<label>
<div class="order">3</div>
<p>Is the Property Made Up of More Than a Single Block?<span class="asterisk">*</span></p>
</label>
<br>
<input class="radio-left" name="more_than_single_block" type="radio" value="Yes" required >Yes
<input class="radio-right" name="more_than_single_block" type="radio" value="No">No
<br>
</figure>
Question4
<figure class="fig" id="cf_number_of_blocks">
<label>
<div class="order">4</div>
<p>If the Answer to Question 3 is Yes How Many Blocks are Included (A Form Should be Completed for Each Block)<span class="asterisk">*</span></p>
</label>
<br>
<input type="number" min="1" name="number_of_blocks" required>
<br>
</figure>
JavaScript
$("input[name=more_than_single_block]").on('click', function() {
var blockNumber = $('#cf_number_of_blocks');
// if is company
if ($(this).val() == "Yes") {
// show panel
blockNumber.show();
// remove disabled prop
blockNumber.find('input,select,radio').prop('disabled', false);
} else {
// if is not company, hide the panel and add disabled prop
//blockNumber.hide();
blockNumber.val = "";
blockNumber.find('input,select,radio').prop('disabled', true);
}