<form name="loginsubmit" method="post" action="adproperties.html"></form>
// this is for the login validation
if(document.loginsubmit.usernameform == '' );
alert('Please enter your username');
The issue that i'm having is when the username is submited with no text, the alert will appear, but even when I include text it still appears and doesn't go to the selected link.
Help would be appreciated.