platform/packages/validate/web/index.html

37 lines
1 KiB
HTML
Raw Normal View History

2021-02-21 02:47:23 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2023-10-27 15:52:29 +00:00
<title>angel3_validate</title>
2021-02-21 02:47:23 +00:00
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<style>
#errors li {
color: red;
}
#errors li.success {
color: green;
}
</style>
</head>
<body>
<h1>Passport Registration</h1>
<i>Validation Example</i>
<ul id="errors"></ul>
<form id="form">
<input placeholder="First Name*" name="firstName" type="text">
<input placeholder="Last Name*" name="lastName" type="text">
<br><br>
<input placeholder="Age*" name="age" type="number">
<br><br>
<input placeholder="Family Size" name="familySize" type="number">
<br><br>
<input placeholder="LEAVE THIS BLANK" name="blank">
<br><br>
<input type="submit" value="Submit">
</form>
<script src="main.dart" type="application/dart"></script>
<script src="packages/browser/dart.js"></script>
</body>
</html>