... nor it creates valid html: <label for="profile_maried" >Maried ?</label> <input type="checkbox" id="profile_maried" name="profile[maried]" value="1" /> <input type="hidden" value="0" id="profile_maried" name="profile[maried]"/>