JSFiddle - React, Tailwind, and code Playground
by code_rum
HTML
<form name="DIAGNOSTICS" >
<fieldset data-role="controlgroup" data-type="horizontal" >
<label>START HERE
<input name="V1SET" id="item1zest1" type="radio" />
</label>
<label>OR HERE
<input name="V1SET" id="item1zest2" type="radio" />
</label>
</fieldset>
<input type="text" name="VARIABLES" id="thisone" size="35" style="text-align:center" />
</form>
JavaScript
$("input[type='radio']").change(function (){
if ($('#item1zest1:checked').val() == 'true') { ccc=1
}else{ccc=11}
document.DIAGNOSTICS.VARIABLES.value=(ccc)
});