-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
forms.json
129 lines (129 loc) · 3.41 KB
/
forms.json
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[
{
"user_updated": "95e535d2-f45b-4d94-891b-a89ee6ed1475",
"user_created": "95e535d2-f45b-4d94-891b-a89ee6ed1475",
"id": "36493b64-2bad-4c58-9d70-785ccb12ee26",
"date_updated": "2023-09-15T13:04:48.625Z",
"date_created": "2023-02-26T15:02:36.662Z",
"title": "Contact Us",
"submit_label": "Get Started",
"status": "published",
"redirect_url": null,
"on_success": "redirect",
"key": "contact-us",
"schema": [
{
"name": "first_name",
"type": "text",
"label": "First Name",
"placeholder": "John",
"help": null,
"width": "50"
},
{
"name": "last_name",
"type": "text",
"label": "Last Name",
"width": "50"
},
{
"name": "email",
"type": "text",
"label": "Email",
"placeholder": "john@example.com",
"validation": "required",
"width": "50"
},
{
"name": "phone",
"type": "text",
"label": "Phone Number",
"width": "50"
},
{
"name": "company",
"type": "text",
"label": "Company",
"help": "What's the name of your company / organization?",
"width": "100"
},
{
"name": "message",
"type": "textarea",
"label": "Message",
"placeholder": "How can we help?",
"width": "100"
},
{
"name": "consent",
"type": "checkbox",
"label": "I agree with terms of service",
"width": "100"
}
],
"success_message": null,
"sort": null
},
{
"user_updated": "95e535d2-f45b-4d94-891b-a89ee6ed1475",
"user_created": "95e535d2-f45b-4d94-891b-a89ee6ed1475",
"id": "5da3d356-d818-434f-b225-db35c418bbb6",
"date_updated": "2023-10-20T03:20:50.314Z",
"date_created": "2023-03-16T01:50:49.262Z",
"title": "Newsletter",
"submit_label": "Subscribe",
"status": "published",
"redirect_url": null,
"on_success": "message",
"key": "newsletter",
"schema": [
{
"name": "email",
"type": "text",
"label": "What is your email address?",
"help": "We hate spam just as much as you do!",
"validation": "required|email",
"width": "100"
}
],
"success_message": "<p>Thanks for subscribing to our newsletter! Please check your inbox for confirmation.</p>",
"sort": null
},
{
"user_updated": "95e535d2-f45b-4d94-891b-a89ee6ed1475",
"user_created": "95e535d2-f45b-4d94-891b-a89ee6ed1475",
"id": "940a86aa-0500-4ddb-8ab1-dccfd08295a5",
"date_updated": "2023-10-20T17:47:10.031Z",
"date_created": "2023-09-19T01:10:50.143Z",
"title": "Project Onboarding",
"submit_label": "Submit Answers",
"status": "draft",
"redirect_url": null,
"on_success": "message",
"key": "onboarding",
"schema": [
{
"name": "why",
"type": "textarea",
"label": "Why do this project now?",
"width": "100",
"conditions": [
{
"field": "test_condition",
"action": "show",
"condition": "is_filled",
"value": null
}
]
},
{
"name": "files",
"type": "file",
"label": "Upload Your Logo",
"width": "67"
}
],
"success_message": "<p>Thanks for completing the onboarding form. You're amazing!</p>",
"sort": null
}
]