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
| <?php
|
| function ajv_contact():array
| {
| return [
| 'title' => 'Contact',
| 'description' => [
| 'You can always text, call, or email.',
| 'Or you can fill out this form and we\'ll get back to you as soon as we can.',
| ],
| 'submit' => 'Contact',
| 'success_title' => 'Success!',
| 'success_description' => [
| 'We got it.',
| 'We\'ll get back to you as soon as we can - usually pretty quick (unless it\'s a Monday or a Tuesday)'
| ],
| 'email_subject' => '[CONTACT]',
| 'fields' => [
| 'first_name' => [
| 'type' => 'text',
| 'label' => 'First Name',
| 'autocomplete' => 'given-name',
| 'required' => true,
| 'section' => 'about_you',
| ],
| 'last_name' => [
| 'type' => 'text',
| 'label' => 'Last Name',
| 'required' => true,
| 'autocomplete'=> 'family-name',
| 'section' => 'about_you',
| ],
| 'email' => [
| 'type' => 'email',
| 'label' => 'Email',
| 'autocomplete' => 'email',
| 'required' => true,
| 'section' => 'about_you',
| ],
| 'phone' => [
| 'type' => 'tel',
| 'label' => 'Phone',
| 'required' => true,
| 'autocomplete' => 'tel',
| 'section' => 'about_you',
| ],
| 'contact' => [
| 'type' => 'checkbox',
| 'label' => 'Preferred Contact',
| 'options' => [
| 'text' => 'Text',
| 'email' => 'Email',
| 'call' => 'Call',
| ],
| 'section' => 'about_you',
| ],
| 'message' => [
| 'type' => 'textarea',
| 'label' => 'What\'s your idea?',
| 'hint' => 'Include general information about your idea, as well as details such as timeline, budget, location - the more the better!'
| ]
| ]
| ];
| }
|
|