-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathforms.html
More file actions
71 lines (53 loc) · 2.12 KB
/
Copy pathforms.html
File metadata and controls
71 lines (53 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 Forms</title>
</head>
<body>
<form action="contact_form.php" method="get" oninput="invoice.value=parseInt(total.value)+parseInt(shipping.value)">
<label for="name">Name:</label>
<input type="text" name="name" placeholder="SNOW, JON" required><br>
<label for="name">Email:</label>
<input type="text" name="email" placeholder="jon@snow.com" required><br>
<label for="message">Message:</label><br>
<textarea name="message" rows="15" cols="100"></textarea><br>
<label for="source">How did you hear about us?</label>
<select name="source">
<option value="fb">Facebook</option>
<option value="google">Google</option>
<option value="yahoo">Yahoo</option>
<option value="twitter">Twitter</option>
</select>
<br>
<label for="shipping_method">Shipping Method:</label>
<select name="shipping_method">
<optgroup label="Business">
<option value="biz_overnight">Overnight</option>
<option value="biz_groung">Ground</option>
</optgroup>
<optgroup label="Residential">
<option value="res_overnight">Overnight</option>
<option value="res_groung">Ground</option>
</optgroup>
</select>
<hr>
<label for="options">Packing Requirements (select all that apply):</label><br>
<input type="checkbox" name="options" value="premium"> Premium<br>
<input type="checkbox" name="options" value="automated"> Automated<br>
<input type="checkbox" name="options" value="rush"> Rush<br>
<hr>
<label for="delivery">Shipping Preference:</label><br>
<input type="radio" name="delivery" value="in_store"> In Store<br>
<input type="radio" name="delivery" value="shipping"> Shipping<br>
<hr>
<label for="total">Subtotal:</label><br>
<input type="text" name="total" value="0" /><br>
<label for="shipping">Shipping:</label><br>
<input type="text" name="shipping" value="9" /><br>
Total for invoice: $<output name="invoice" for="total tax"></output>
<hr>
<input type="submit" value="Send Contact Request">
</form>
</body>
</html>