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
| <?php
|
| function atat_contact():array
| {
| return [
| 'title' => '',
| 'description' => [],
| 'submit' => 'Contact',
| 'success_title' => 'Success!',
| 'success_description' => [
| 'We got it.',
| 'We\'ll get back to you as soon as we can'
| ],
| 'email_subject' => '[CONTACT]',
| 'fields' => [
| 'first_name' => [
| 'type' => 'text',
| 'label' => 'First Name',
| 'required' => true,
| 'section' => 'about_you',
| ],
| 'last_name' => [
| 'type' => 'text',
| 'label' => 'Last Name',
| 'required' => true,
| 'section' => 'about_you',
| ],
| 'email' => [
| 'type' => 'email',
| 'label' => 'Email',
| 'required' => true,
| 'section' => 'about_you',
| ],
| 'phone' => [
| 'type' => 'tel',
| 'label' => 'Phone',
| 'required' => true,
| 'section' => 'about_you',
| ],
| 'contact' => [
| 'type' => 'checkbox',
| 'label' => 'Preferred Contact',
| 'options' => [
| 'text' => 'Text',
| 'email' => 'Email',
| 'call' => 'Call',
| ],
| 'section' => 'about_you',
| ],
| 'message' => [
| 'type' => 'textarea',
| 'quill' => true,
| 'label' => 'What do you want to say?'
| ]
| ]
| ];
| }
|
|