<?=form_open(base_url('enquiry/enquiry_modal'),['id'=>"enquiry_form_modal"])?>
	<div class="form-group">
		<input type="text" placeholder="Full Name" name="name" id="name" value="<?=set_value('name')?>" required aria-required="true">
		<?=$validation->showError('name')?>
	</div>
	<div class="d-flex flex-wrap">
		<div class="form-group">
			<input type="text" required placeholder="Phone Number" name="phone_no" id="phone_no" value="<?=set_value('phone_no')?>">
			<?=$validation->showError('phone_no')?>
		</div>
		<div class="form-group">
			<input type="email" placeholder="Email Address" name="email_id"  value="<?=set_value('email_id')?>" required aria-required="true">
			<?=$validation->showError('email_id')?>
		</div>
	</div>
	<div class="d-flex flex-wrap">
		<div class="form-group">
			<input type="text" required placeholder="City" name="city" id="city" value="<?=set_value('city')?>">
			<?=$validation->showError('city')?>
		</div>
		<div class="form-group">
			<input type="text" required placeholder="State" name="state" id="state" value="<?=set_value('state')?>">
			<?=$validation->showError('state')?>
		</div> 
	</div>
	<div class="d-flex flex-wrap">
		<div class="form-group">
			<select required name="customer_profile" id="customer_profile">
				<option value="" disabled selected>Are you a</option>
				<option value="Home Owner" <?=set_select('customer_profile', 'Home Owner', FALSE, FALSE);?>>Home Owner</option>
				<option value="Architect" <?=set_select('customer_profile', 'Architect', FALSE, FALSE);?>>Architect</option>
				<option value="Builder" <?=set_select('customer_profile', 'Builder', FALSE, FALSE);?>>Builder</option>
				<option value="Interior Designer" <?=set_select('Interior Designer', 'Home Owner', FALSE, FALSE);?>>Interior Designer</option>
				<option value="Other" <?=set_select('customer_profile', 'Other', FALSE, FALSE);?>>Other</option>
			</select>
			<?=$validation->showError('customer_profile')?>
		</div>
		<div class="form-group">
			<select required name="project_type" id="project_type">
				<option value="" disabled selected>Are you looking for</option>
				<option value="New Construction" <?=set_select('project_type', 'New Construction', FALSE, FALSE);?>>New Construction</option>
				<option value="Renovation" <?=set_select('project_type', 'Renovation', FALSE, FALSE);?>>Renovation</option>
				<option value="Farm House" <?=set_select('project_type', 'Farm House', FALSE, FALSE);?>>Farm House</option>
			</select>
			<?=$validation->showError('project_type')?>
		</div> 
	</div>
	<div class="form-group">
		<textarea id="customer_message" placeholder="Explain what you need" name="customer_message"><?=set_value('customer_message')?></textarea>
		<?=$validation->showError('customer_message')?>
	</div>
	<button type="button" onclick="postEnquiryModal();" class="p-bg-color hvr-trim-two" name="submit-form">Send</button>
	
</form>