// this functionality is used to assuring that user must agree with terms and condition in the sign up form
$(document).ready(function(){
  $('#beer').on('change', function () {
    this.value = this.checked ? "true": "false";
     }).change();
    
    $("#submit").click(function () {
    if(document.getElementById("beer").checked){
    document.getElementById('beerHidden').disabled = true;
    }
    });
});