mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Improved form handling with verifying data
This commit is contained in:
+4
-6
@@ -1,8 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script src="nui://game/ui/jquery.js" type="text/javascript"></script>
|
||||
<link href="style.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
|
||||
@@ -14,9 +12,9 @@
|
||||
<input id="firstname" type="text" placeholder="First name"><br>
|
||||
<input id="lastname" type="text" placeholder="Last name"><br>
|
||||
<input id="dateofbirth" type="text" placeholder="Date of Birth (YYYY-MM-DD)"><br>
|
||||
<input id="height" type="text" placeholder="Height (48-96)"><br><center>
|
||||
<input id="male" type="radio" name="sex" value="male">Male
|
||||
<input id="female" type="radio" name="sex" value="female">Female<br></center>
|
||||
<input id="height" type="text" placeholder="Height (140-200 cm)"><br><center>
|
||||
<input type="radio" name="sex" value="m" checked>Male
|
||||
<input type="radio" name="sex" value="f">Female<br></center>
|
||||
<button id="submit" type="submit">Create</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user