-
Notifications
You must be signed in to change notification settings - Fork 1
/
artCar_reg.php
49 lines (37 loc) · 3.66 KB
/
artCar_reg.php
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
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once('class.RegisterWizardPage.php');
$page = new RegisterWizardPage('Art Car');
$index = $page->add_wizard_step('Basic Questions');
$page->add_raw_html($index, '<div class="alert alert-info" role="alert">Please make sure you have read and understand the Guidlines for Mutant Vehicles <a class="alert-link" href="https://www.burningflipside.com/art/mutant-vehicles">here</a> before registering.</div>');
$page->add_form_group($index, 'Vehicle Owner\'s Legal Name', 'vehicle_owner', 'text', 'This is the legal name of the person who will be attending the event and be responsible for: any and all actions of vehicle, driver and passengers of mutant vehicle; and liability of said vehicle.', array('required'=>'true'));
$page->add_form_group($index, 'Vehicle Owner\'s Burner Name', 'vehicle_owner_burner', 'text', 'This is the burner/nickname of the person who will be attending the event and be responsible for: any and all actions of vehicle, driver and passengers of mutant vehicle; and liability of said vehicle.', array('required'=>'true'));
$page->add_form_group($index, 'Email Address', 'vehicle_email', 'text', 'So we can get in touch with you.', array('required'=>'true'));
$page->add_form_group($index, 'Phone Number', 'vehicle_phone', 'text', 'So we can get in touch with you.');
$page->add_form_group($index, 'Theme Camp (if any)', 'vehicle_camp', 'text', 'So we can find you on site.');
$page->add_form_group($index, 'Vehicle Dimensions', 'vehicle_dimention', 'text', 'Our roads are narrow and pass under pecan trees. Let us know the height, width and length of your vehicle.', array('required'=>'true'));
$page->add_form_group($index, 'Number of Passengers', 'vehicle_passengers', 'text', 'The number of passengers you can comfortably carry.', array('required'=>'true'));
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="has_sound" id="has_sound"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="This art car will utilize amplified sound in some form.">
<label for="has_sound" class="form-check-label non-required">This art car has sound</label>
</div>');
$page->add_raw_html($index, '<div class="form-check">
<input class="form-check-input" type="checkbox" name="has_fe" id="has_fe"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="This art car has flame effects.">
<label for="has_fe" class="form-check-label non-required">This art car has flame effects</label>
</div>');
$index = $page->add_wizard_step('Images');
$page->add_form_group($index, 'Image #1', 'image_1', 'file', 'A picture or drawing of your art car.', array('required'=>'true'));
$page->add_form_group($index, 'Image #2', 'image_2', 'file', 'A picture or drawing of your art car.');
$page->add_form_group($index, 'Image #3', 'image_3', 'file', 'A picture or drawing of your art car.');
$index = $page->add_wizard_step('Sound', 'sound');
$page->add_form_group($index, 'Sound System Description', 'sound_desc', 'textarea', 'Describe your sound equipment and how you plan to adhere to the Event Sound Policy');
$index = $page->add_wizard_step('Flame Effects', 'fe');
$page->add_form_group($index, 'Flame Effects Description', 'fire_flameEffects', 'textarea', 'Describe any flame effects such as propane or other flame effects.');
$index = $page->add_wizard_step('Final');
$page->add_raw_html($index, '<div class="alert alert-info" role="alert">Thank you for submitting your art car registration. To finalize your registration (you will not be able to edit it after this) please click "Save and Finish".</div>');
$page->printPage();