html form validation initial steps with test html file, added stub methods, added code to handle validations

This commit is contained in:
Bhavya Bansal 2016-10-28 18:12:20 -07:00
parent e4fcc066d1
commit 2a40877851
9 changed files with 124 additions and 15 deletions

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<body>
<form>
First name:<br>
<input type="text" name="firstname" value="Mickey" required>
<br>
Last name:<br>
<input type="text" name="lastname" value="Mouse" required>
<br><br>
<input type="submit" value="Submit">
</form>
<p>If you click the "Submit" button, the form-data will be sent to a page called "action_page.php".</p>
</body>
</html>