Mobile app download click below to download latest app from playstore var x = document.forms["myForm"]["fname"].value; if (x == "") { alert("Name must be filled out"); return false; }