form_fields.inc
<?php
$form_fields = array('name' => array('forename' => array('labl' => 'First Name',
'type' => 'regular_text',
'data' => '20'),
'surname' => array('labl' => 'Surname',
'type' => 'regular_text',
'data' => '20')),
'current_addr' => array('haddress' => array('labl' => 'Address',
'type' => 'regular_text',
'data' => '20'),
'htown' => array('labl' => 'Town',
'type' => 'regular_text',
'data' => '20'),
'hpostcode' => array('labl' => 'Post Code',
'type' => 'regular_text',
'data' => '20'),
'htime' => array('labl' => 'Time at Current Address:',
'type' => 'special_duration_select',
'data' => '')),
'billing_addr' => array('baddress' => array('labl' => 'Billing Address',
'type' => 'regular_text',
'data' => '20'),
'btown' => array('labl' => 'Town',
'type' => 'regular_text',
'data' => '20'),
'bpostcode' => array('labl' => 'Post Code',
'type' => 'regular_text',
'data' => '20')),
'job' => array('jobtitle' => array('labl' => 'Job Title',
'type' => 'regular_text',
'data' => '20'),
'jobtime' => array('labl' => 'Time at Current Job:',
'type' => 'special_duration_select',
'data' => '')),
'info' => array('birthdate' => array('labl' => 'Date of Birth',
'type' => 'special_date_select',
'data' => ''),
'telephone' => array('labl' => 'Telephone',
'type' => 'regular_text',
'data' => '20'),
'mobile' => array('labl' => 'Mobile Phone',
'type' => 'regular_text',
'data' => '20')),
'prev_addr' => array('paddress' => array('labl' => 'Previous Address',
'type' => 'regular_text',
'data' => '20'),
'ptown' => array('labl' => 'Town',
'type' => 'regular_text',
'data' => '20'),
'ppostcode' => array('labl' => 'Post Code',
'type' => 'regular_text',
'data' => '20'),
'ptime' => array('labl' => 'Time at Previous Address:',
'type' => 'special_duration_select',
'data' => '')),
'prev_addr_2' => array('paddress2' => array('labl' => 'Second Previous Address',
'type' => 'regular_text',
'data' => '20'),
'ptown2' => array('labl' => 'Town',
'type' => 'regular_text',
'data' => '20'),
'ppostcode2' => array('labl' => 'Post Code',
'type' => 'regular_text',
'data' => '20'),
'ptime2' => array('labl' => 'Time at Second Previous Address:',
'type' => 'special_duration_select',
'data' => '')),
'other' => array('accom' => array('labl' => 'Accomodation',
'type' => 'regular_text',
'data' => '20'),
'occ' => array('labl' => 'Occupation',
'type' => 'regular_text',
'data' => '20'),
'dproof' => array('labl' => 'Date of Birth',
'type' => 'special_date_select',
'data' => ''),
'email' => array('labl' => 'E-Mail',
'type' => 'regular_text',
'data' => '20'),
'country' => array('labl' => 'Country',
'type' => 'regular_text',
'data' => '20')));
$special_date_fields = array('day' => array('labl' => 'Day',
'type' => 'select',
'data' => range('1', '31')),
'mon' => array('labl' => 'Month',
'type' => 'select',
'data' => array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec')),
'yr' => array('labl' => 'Year',
'type' => 'select',
'data' => range('1907', '2007')));
$special_duration_fields = array('yrs' => array('labl' => 'Years',
'type' => 'regular_select',
'data' => range('0', '50')),
'mons' => array('labl' => 'Months',
'type' => 'regular_select',
'data' => range('1', '12')));
?>