Feel free to give this a try
<form action = "your website here" method = "POST">
UneditableText<input type = "checkbox"/ id = "mycheckbox" value = "DesiredValue">
<input type = "submit" id = "somebutton" value = "Obtain Checkbox Value" />
</form>
Javascript Section
$("#somebutton").click(function(e){
var isChecked = $('#mycheckbox').attr('checked')?true:false;
if(!isChecked){
e.preventDefault();
alert("Please choose a value");
}
else{
$("#mycheckbox").attr("disabled","true");
alert($("#mycheckbox").val());
}
});
By disabling the checkbox upon submission and displaying the checkbox value in the JavaScript "else" statement, the value is kept intact.
I hope you find this information useful.