-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact-jcom.js
54 lines (54 loc) · 1.73 KB
/
contact-jcom.js
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
window.formbutton=window.formbutton||function(){(formbutton.q=formbutton.q||[]).push(arguments);};
formbutton("create", {
action: "https://formspree.io/xbjqogkz",
theme: "classic",
title: "",
description: "",
onResponse: function(ok, setStatus) {
if (ok) { setStatus("they will be scarred for life"); }
else { setStatus("YOU FAIL IT"); }
},
fields: [
{ type: "radio",
label: "I am a spambot",
name: "identity",
value: "spambot",
required: true },
{ type: "radio",
label: "I am her",
name: "identity",
value: "her",
required: true },
{ type: "radio",
label: "I am someone else",
name: "identity",
value: "other",
required: true },
{ type: "email",
label: "Email (optional*):",
name: "email",
placeholder: "-o-",
required: false },
{ type: "textarea",
label: "What's your whole deal:",
name: "message",
placeholder: "*if you want a response please include a valid e-mail address",
required: true },
{ type: "checkbox",
label: "Cute",
name: "cute",
required: false },
{ type: "checkbox",
label: "Sweet",
name: "sweet",
required: false },
{ type: "submit", value: "initiate catharsis" }
],
styles: {
fontFamily: "Montserrat",
button: {
background: "black",
}
},
initiallyVisible: false
});