I want to submit the form with empty checkbox but I want the value "no" if the checkbox is not checked.
if($Domain_Check=="yes")
{
echo '<div class="col-md-3">
<div class="form-group" style="padding-top:20px;">
Domain_Check <input type="checkbox" name="Domain_Check1" value="yes" checked>
</div>
</div>';
}
else {
echo '<div class="col-md-3">
<div class="form-group" style="padding-top:20px;">
Domain_Check <input type="checkbox" name="Domain_Check1" value="yes">
</div>
</div>';
}