Subversion Repositories web_pages

Rev

Blame | Last modification | View Log | Download | RSS feed

<?php

return [
    'to' => 'email@example.com',
    'bcc' => 'email2@example.com,email3@example.com',
    'from' => 'sender@example.com',
    'from_name' => 'Form Sender',
    'smtp_host' => 'smtp.example.com',
    'smtp_port' => 587,
    'smtp_username' => 'sender@example.com',
    'smtp_password' => 'example_password',
    'debug' => true,
    'page_title' => 'Support Request Form',
    'fields' => [
        [
            'name' => 'requestor_name',
            'type' => 'text',
            'label' => 'Requestor Name',
            'required' => true,
        ],
        [
            'name' => 'requestor_phone',
            'type' => 'text',
            'label' => 'Requestor Phone',
            'required' => false,
        ],
        [
            'name' => 'requestor_email',
            'type' => 'email',
            'label' => 'Requestor Email',
            'required' => true,
        ],
        [
            'name' => 'short_description',
            'type' => 'text',
            'label' => 'Short Description',
            'required' => true,
        ],
        [
            'name' => 'location',
            'type' => 'select',
            'label' => 'Location',
            'required' => true,
            'options' => [
                'Dallas 600' => 'Dallas 600',
                'Dallas 1000' => 'Dallas 1000',
                'Plano' => 'Plano',
                'New Delhi' => 'New Delhi',
            ],
        ],
        [
            'name' => 'workstation_name',
            'type' => 'text',
            'label' => 'Workstation Name',
            'required' => false,
        ],
        [
            'name' => 'problem_description',
            'type' => 'textarea',
            'label' => 'Problem Description',
            'required' => false,
        ],
        [
            'name' => 'attachments',
            'type' => 'file',
            'label' => 'Attachments',
            'required' => false,
            'multiple' => true, // Support multiple files
        ],
    ],
    'success_message' => 'Your request has been sent successfully!',
];