How to create signup form in html | source code html code for registration form


Download source code for the registration form or copy the code given below.

Steps for creating registration form in HTML.


  1. Create a text file with the name  "form.html"
  2. Open the "form.html" file in any editor.
  3. Copy the code given below and paste it into the "form.html" file.
  4. Save the  code in the file
  5. Run code in Browser.








<!DOCTYPE html>
<html>
<head>
<title>ROZEE</title>
<script language ="JavaScript">
function check()
{
if(!frm1.t1.value){
alert("PLz Enter Name");
return(false);
}
return(true);
}
function check()
{
if(!frm1.e2.value){
alert("PLz Enter Email");
return(false);
}
return(true);
}
function check()
{
if(!frm1.t3.value){
alert("Please Enter company or organization are you with");
return(false);
}
return(true);
}
function check()
{
if(!frm1.p4.value){
alert("Please Enter Password");
return(false);
}
return(true);
}
function check()
{
if(!frm1.num.value){
alert("Please Enter Phone Number");
return(false);
}
return(true);
}
function check()
{
if(!frm1.cb.value){
alert("something is missing");
return(false);
}
return(true);
}


</script>
</head>
<body align="center" > <br>
 <h style="font-size:20px"> You're minutes away from hiring the best! </h> <br> <br>
 <img src="fb.png" width="180" hight="100" alt="invalid">
 <img src="g.png" width="180" hight="100" alt="invalid">
 <form name="frm1" method="post" action="2.php" enctype="multipart/formdata">
   <br>Can you tell us your full name?<br><input type="text" name="t1" id="t1" size="40" ><br><br>
   Email address you check most often?<br><input type="email" name="e2" id="e2" size="40" ><br><br>
   What company or organization are you with?<br><input type="text" name="t3" id="t3" size="40"><br><br>
   Now, set a password for your account.<br><input type="password" name="p4" size="40"><br><br>
   Country?<br>
   <select name="slt" width="300" style="width:300px">
   <option value="v1">Pakistan</option>
   <option value="v2">UAE</option>
   <option value="v3">Ukrain</option>
 
   </select> <br><br> Best number to reach you at?<br>
    <select name="slt2" width="300" style="300px">
     <option value="v4">+92</option>
<option value="v5">+93</option>
<option value="v6">+94</option>
   </select> <input type="number" name="num" id="num" size="30"><br><br>
   Please tell us your National Identification number<br>
   <input type="text" name="txt" id="txt" placeholder="optional" size="40"> <br> <br>
   <input type="checkbox" name="cb" id="cb" value="check">I authorize ROZEE.PK to post jobs of my company on
    its website. No other online mediums are
   <br>authorized to post these jobs without the explicit approval of my company or ROZEE.PK.
   <br> <br>
   <input type="submit" name="btn" id="btn" value="Next" onclick="check()">
 </form >
</body>
</html>





Download the source code for sign up page


Download Now

Post a Comment

0 Comments