<script>
function enableSubmit6(){
let inputs = document.getElementsByClassName('required6'); // Enter your class name for a required field, this should also be reflected within your form fields.
//let btn = document.querySelector('input[type="submit"]');
let btn = document.getElementById('Subscribe');
let isValid = true;
for (var i = 0; i < inputs.length; i++){
let changedInput = inputs[i];
if (changedInput.value.trim() === "" || changedInput.value === null){
isValid = false;
break;
}
}
btn.disabled = !isValid;
}






</script>