This repository has been archived by the owner on Sep 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmailtofriend.html
69 lines (69 loc) · 2.82 KB
/
mailtofriend.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
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="petition.css" />
<script language="JavaScript" src="gen_validatorv2.js" type="text/javascript"></script>
</head>
<body>
<div class="formrow">
<span class='required'>*</span> Required Field
</div>
<form method="post" name="mailto" id="petition" action="mailto.pl">
<input type="hidden" name="redirect" value="http://jesse-crockers-computer.local/~jesse/petition/mailtofriend.html" />
<div class="formrow">
<label for="from" >Your Email Address <span class='required'>*</span></label>
<input type="text" id="from" name="from" size="100" />
</div>
<div class="formrow">
<label for="subject" >Subject <span class='required'>*</span></label>
<input type="text" id="subject" name="subject" value="subject" size="100" />
</div>
<div class="formrow">
<label for="subject" >Customize Your Message</label>
<textarea name="message">Message goes here ...</textarea>
</div>
<div class="formrow">
<label for="email1" >Email </label>
<input class="sameline" type="text" id="email1" name="email1" value="" size="100" />
</div>
<div class="formrow">
<label for="email2" >Email </label>
<input class="sameline" type="text" id="email2" name="email2" value="" size="100" />
</div>
<div class="formrow">
<label for="email3" >Email </label>
<input class="sameline" type="text" id="email3" name="email3" value="" size="100" />
</div>
<div class="formrow">
<label for="email4" >Email </label>
<input class="sameline" type="text" id="email4" name="email4" value="" size="100" />
</div>
<div class="formrow">
<label for="email5" >Email </label>
<input class="sameline" type="text" id="email5" name="email5" value="" size="100" />
</div>
<div class="formrow">
<label for="email6" >Email </label>
<input class="sameline" type="text" id="email6" name="email6" value="" size="100" />
</div>
<div class="formrow">
<input type="submit" onsubmit="validate_form()" value="Sign Now!" />
</div>
</form>
<SCRIPT language="JavaScript">
var frmvalidator = new Validator("mailto");
frmvalidator.addValidation("from","req", "You must enter your email address.");
frmvalidator.addValidation("from","email");
frmvalidator.addValidation("subject","req");
frmvalidator.addValidation("message","req");
frmvalidator.addValidation("email1","req", "You must enter at least 1 email address");
frmvalidator.addValidation("email1","email", "Not a valid email address");
frmvalidator.addValidation("email2","email", "Not a valid email address");
frmvalidator.addValidation("email3","email", "Not a valid email address");
frmvalidator.addValidation("email4","email", "Not a valid email address");
frmvalidator.addValidation("email5","email", "Not a valid email address");
frmvalidator.addValidation("email6","email", "Not a valid email address");
</script>
</body>
</html>