JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
contact: implement honeypot instead of visible robot field
[wfpl-cms.git] / contact.html
1 <!DOCTYPE html>
2
3 <html lang="en">
4 <head>
5         <title></title>
6 </head>
7
8 <body>
9 <!--~$body show {~-->
10         <!--~form {~-->
11                 <form action="contact" method="post">
12
13                         <div class="caption">Name</div>
14                         <div class="field"><input type="text" name="name" value="~name attr~"></div>
15
16                         <div class="caption">Email</div>
17                         <div class="field"><input type="hidden" name="fields" value="~robot_field attr~~email_field attr~"><input type="email" name="~robot_field attr~" value=""><input type="email" name="~email_field attr~" value="~email attr~"><script>document.write('<style>input[name="'+document.getElementsByName('fields')[0].value.substr(0, 16)+'"]{display:none}</style>')</script></div>
18
19                         <div class="caption">Message</div>
20                         <div class="field"><textarea style="box-sizing: border-box; width: 100%; height: 220px" name="comments">~comments html~</textarea></div>
21
22                         <div class="caption"></div>
23                         <div class="field"><input type="submit" value="Send"></div>
24
25                 </form>
26         <!--~}~-->
27 <!--~}~-->
28 </body>
29 </html>