Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<script language="javascript">
function checkform() {
var allFilled = true; // let's assume everything is filled in
var inputs = document.getElementById("myForm").getElementsByTagName("input");
for (var i = 0 ; i < inputs.length ; i++) {
if (inputs[i].value == "") {
allFilled = false;
break;
}
}
if (allFilled) {
document.getElementById("btnSubmit").disabled = "";
} else {
document.getElementById("btnSubmit").disabled = "disabled";
}
}
</script>
<form id="myForm">
<input type="text" id="tbxOne" value="" onchange="checkform()" /><br />
<input type="text" id="tbxTwo" value="" onchange="checkform()" /><br />
<input type="text" id="tbxThree" value="" onchange="checkform()" /><br />
<input type="submit" disabled="disabled" id="btnSubmit" value="Submit" />
</form>