I need to get the value of all the input radio (which are checked) from my page, it is around 10 radius, the value is loaded directly from the database, but they are disabled because the user can not change the value, they are already checked, I need to pass the value of these disabled checkboxes to the input hidden, because as they should know, disabled inputs do not have data sent to php.
Follow the code: link
<div class="form-group">
<input type="hidden" name="a">
<div class="radio">
<label for="yes1">
<input type="radio" name="a" id="yes1" checked> Yes
</label>
<label for="no1">
<input type="radio" name="a" id="no1"> No
</label>
</div>
</div>
<div class="form-group">
<input type="hidden" name="b">
<div class="radio">
<label for="yes2">
<input type="radio" name="b" id="yes2"> Yes
</label>
<label for="no2">
<input type="radio" name="b" id="no2" checked> No
</label>
</div>
</div>
<div class="form-group">
<input type="hidden" name="c">
<div class="radio">
<label for="yes3">
<input type="radio" name="c" id="yes3" checked> Yes
</label>
<label for="no3">
<input type="radio" name="c" id="no3"> No
</label>
</div>
</div>
<button class="btn btn-default">Submit</button>