Professional Documents
Culture Documents
CSE1007
Fall Sem 19-20
NAME SHAMBEL GONFA
REG NO: 18BCE2429
Write a HTML program to design an application form for a competitive exam.
Read all the necessary inputs required. Write a JSP code to validate all the
inputs received. The validated inputs should be displayed in the next page.
Ex: first name and last name should not contain numbers and special
characters
Address should not contain special characters.
Username and password – password should not be blank,
length should be 8 to 15. And should contain 1
uppercase, 1 lowercase and 1 number and 1
special character.
Age-18 to 28
Education – regular
Add more inputs and validate each input.
CODE
<html>
<head>
<title>Personal Details</title>
</head>
<body>
<h1>Details of Form</h1>
<tr>
<td>First Name</td>
</tr>
<tr>
<td>Last Name</td>
</tr>
<tr>
<td>UserName</td>
</tr>
<tr>
<td>Password</td>
<br /></td>
</tr>
<tr>
<td>Address</td>
</tr>
<tr>
<td>Contact No</td>
</tr>
<tr>
<td>Education</td>
<td><input type="text" name="education" /></td>
</tr></table>
</body>
</html>ml>
OUTPUT