
<form name="form" method="post" action="process.php" onsubmit="return validate(); ">
<table align="center" border="1px" bgcolor="orange" >
<tr><td>username:</td><td><input type="text" name="username" /></td></tr>
<tr><td>password:</td><td><input type="password" name="password" /></td></tr>
<tr><td>confirmpassword:</td><td><input type="password" name="confirmpwd" /></td></tr>
<tr>
<td>
Type:
</td>
<td>
<select name="type">
<option value="0">-select-</option>
<option value="1">admin</option>
<option value="2">interviewer</option>
<option value="3">client</option>
</select>
</td>
</tr>
<tr>
<td>Enter Name</td>
<td><input type="text" name="name" id="text">
</td>
</tr>
<td>email:</td>
<td><input type="text" name="email" id="text1"></td>
</tr>
<tr>
<td>Enter Address</td>
<td><textarea rows="4" cols="14" name="address" id="add"></textarea>
</td>
</tr>
<tr>
<td>phone no:</td>
<td><input type="text" name="phno" size="10"/></td>
</tr>
<tr>
<td>Mobile no:</td>
<td><input type="text" name="mobno" size="10"/></td>
</tr>
<tr>
<td align="center"><input type="reset">
</td>
<td align="center">
<input type="submit" value="save">
</td>
</tr>
</table>
</form>
i want validation code,username minimum 8 char,password length must >6,and one capital,one small,one special character must.check password and confirm password equal or not.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.