-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
executable file
·96 lines (92 loc) · 2.93 KB
/
form.html
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
<title>The Starbuzz Bean Machine</title>
<link type="text/css" rel="stylesheet" href="styledform.css">
</head>
<body>
<h1>The Starbuzz Bean Machine</h1>
<h2>Fill out the form below and click submit to order</h2>
<form action="http://starbuzzcoffee.com/processorder.php" method="POST">
<div class="tableRow">
<p>
Choose your beans:
</p>
<p>
<select name="beans">
<option value="House Blend">House Blend</option>
<option value="Bolivia">Shade Grown Bolivia Supremo</option>
<option value="Guatemala">Organic Guatemala</option>
<option value="Kenya">Kenya</option>
</select>
</p>
</div>
<div class="tableRow">
<p>
Type:
</p>
<p>
<input type="radio" name="beantype" value="whole"> Whole bean <br>
<input type="radio" name="beantype" value="ground" checked> Ground
</p>
</div>
<div class="tableRow">
<p>
Extras:
</p>
<p>
<input type="checkbox" name="extras[]" value="giftwrap">Gift wrap<br>
<input type="checkbox" name="extras[]" value="catalog" checked>Include catalog with order
</p>
</div>
<div class="tableRow">
<p>Number of bags:</p>
<p><input type="number" name="bags" min="1" max="10"></p>
</div>
<div class="tableRow">
<p>Must arrive by date:</p>
<p> <input type="date" name="date"></p>
</div>
<div class="tableRow">
<P class="heading">Ship to </P>
<p></p>
</div>
<div class="tableRow">
<p>Name:</p>
<p><input type="text" name="name"></p>
</div>
<div class="tableRow">
<p>Address:</p>
<p><input type="text" name="address"></p>
</div>
<div class="tableRow">
<p>City:</p>
<p><input type="text" name="city"></p>
</div>
<div class="tableRow">
<p>State:</p>
<p><input type="text" name="state"></p>
</div>
<div class="tableRow">
<p>Zip:</p>
<p><input type="text" name="zip"></p>
</div>
<div class="tableRow">
<p>Phone:</p>
<p><input type="phone" name="phone"></p>
</P>
</div>
<div class="tableRow">
<p>Customer Comments:</p>
<p><textarea name="comments"></textarea></p>
</div>
<div class="tableRow">
<p></p>
<p>
<input type="submit" value="Order Now">
</p>
</div>
</form>
</body>
</html>