Subversion Repositories web_pages

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 rodolico 1
<?php
2
 
3
return [
4
    'to' => 'email@example.com',
5
    'bcc' => 'email2@example.com,email3@example.com',
6
    'from' => 'sender@example.com',
7
    'from_name' => 'Form Sender',
8
    'smtp_host' => 'smtp.example.com',
9
    'smtp_port' => 587,
10
    'smtp_username' => 'sender@example.com',
11
    'smtp_password' => 'example_password',
12
    'debug' => true,
13
    'page_title' => 'Support Request Form',
14
    'fields' => [
15
        [
16
            'name' => 'requestor_name',
17
            'type' => 'text',
18
            'label' => 'Requestor Name',
19
            'required' => true,
20
        ],
21
        [
22
            'name' => 'requestor_phone',
23
            'type' => 'text',
24
            'label' => 'Requestor Phone',
25
            'required' => false,
26
        ],
27
        [
28
            'name' => 'requestor_email',
29
            'type' => 'email',
30
            'label' => 'Requestor Email',
31
            'required' => true,
32
        ],
33
        [
34
            'name' => 'short_description',
35
            'type' => 'text',
36
            'label' => 'Short Description',
37
            'required' => true,
38
        ],
39
        [
40
            'name' => 'location',
41
            'type' => 'select',
42
            'label' => 'Location',
43
            'required' => true,
44
            'options' => [
45
                'Dallas 600' => 'Dallas 600',
46
                'Dallas 1000' => 'Dallas 1000',
47
                'Plano' => 'Plano',
48
                'New Delhi' => 'New Delhi',
49
            ],
50
        ],
51
        [
52
            'name' => 'workstation_name',
53
            'type' => 'text',
54
            'label' => 'Workstation Name',
55
            'required' => false,
56
        ],
57
        [
58
            'name' => 'problem_description',
59
            'type' => 'textarea',
60
            'label' => 'Problem Description',
61
            'required' => false,
62
        ],
63
        [
64
            'name' => 'attachments',
65
            'type' => 'file',
66
            'label' => 'Attachments',
67
            'required' => false,
68
            'multiple' => true, // Support multiple files
69
        ],
70
    ],
71
    'success_message' => 'Your request has been sent successfully!',
72
];