'type' => 'checkbox',
'name' => 'location_preference',
'label' => 'Location Preference',
- 'grid' => 6,
+ 'grid' => 8,
'req' => false,
'opts' => [[
'name' => 'location_preference_petoskey',
'name' => 'location_preference_gaylord',
'label' => 'Gaylord',
'value' => 'Gaylord'
+ ],[
+ 'name' => 'location_preference_traverse',
+ 'label' => 'Traverse City',
+ 'value' => 'Traverse City'
]]
];
$do_you_have_building_exp = [
'type' => 'radio',
'name' => 'do_you_have_building_exp',
'label' => 'Do you have experience in the building industry?',
- 'grid' => 6,
+ 'grid' => 4,
'req' => true,
'opts' => [[
'name' => 'do_you_have_building_exp_yes',
type="radio"
value="<?php if (isset($option['value'])) { echo $option['value'];}?>"
<?php
- $radioOptionValue = filter_var($field['value'], FILTER_VALIDATE_INT);
+ $radioOptionValue = (isset($field['value']))
+ ? filter_var($field['value'], FILTER_VALIDATE_INT)
+ : false;
if (isset($field['value']) && $radioOptionValue === $option['value']) {
echo 'checked';
}?> />