Created
February 11, 2013 13:06
-
-
Save anta40/4754318 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Registration Form</title> | |
</head> | |
<script language="javascript"> | |
function isEmpty(){ | |
if (document.forms['input_form'].imsi.value == "" || document.forms['input_form'].msisdn.value == "" || document.forms['input_form'].sdid.value == ""){ | |
alert("All required values must be inputted."); | |
return false; | |
} | |
else return true; | |
} | |
</script> | |
<body> | |
<form name="input_form" action="register.php" method="post"> | |
<center> | |
<br> | |
IMSI: <input type="text" name="imsi"><br> | |
MSISDN: <input type="text" name="msisdn"><br> | |
SDID: <input type="text" name="sdid"><br> | |
<br> | |
<input type="submit" onClick="return isEmpty();" value="Register"> | |
</center> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment