File "volunteer-apply-form-20260225031628-20260225101326.html"
Full Path: /home/ichhrkpd/public_html/ajax-load/volunteer-apply-form-20260225031628-20260225101326.html
File size: 4.42 KB
MIME-type: text/html
Charset: utf-8
<section class="no-bg">
<div class="container position-relative p-0 mt-90" style="max-width: 700px;">
<h3 class="bg-theme-colored p-15 mt-0 mb-0 text-white">Become a Volunteer</h3>
<div class="section-content bg-white p-30">
<div class="row">
<div class="col-md-12">
<form id="volunteer_apply_form" name="job_apply_form" action="includes/become-volunteer.php" method="post" enctype="multipart/form-data">
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label for="form_name">Name <small>*</small></label>
<input id="form_name" name="form_name" type="text" placeholder="Enter Name" required="" class="form-control">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="form_email">Email <small>*</small></label>
<input id="form_email" name="form_email" class="form-control required email" type="email" placeholder="Enter Email">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label for="form_sex">Sex <small>*</small></label>
<select id="form_sex" name="form_sex" class="form-control required">
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="form_branch">Choose Branch <small>*</small></label>
<select id="form_branch" name="form_branch" class="form-control required">
<option value="UK">UK</option>
<option value="USA">USA</option>
<option value="Australia">Australia</option>
</select>
</div>
</div>
</div>
<div class="form-group">
<label for="form_message">Message <small>*</small></label>
<textarea id="form_message" name="form_message" class="form-control required" rows="5" placeholder="Your cover letter/message sent to the employer"></textarea>
</div>
<div class="form-group">
<label for="form_attachment">C/V Upload</label>
<input id="form_attachment" name="form_attachment" class="file" type="file" multiple data-show-upload="false" data-show-caption="true">
<small>Maximum upload file size: 12 MB</small>
</div>
<div class="form-group">
<input id="form_botcheck" name="form_botcheck" class="form-control" type="hidden" value="" />
<button type="submit" class="btn btn-block btn-dark btn-theme-colored btn-sm mt-20 pt-10 pb-10" data-loading-text="Please wait...">Apply Now</button>
</div>
</form>
<!-- Job Form Validation-->
<script type="text/javascript">
$("#volunteer_apply_form").validate({
submitHandler: function(form) {
var form_btn = $(form).find('button[type="submit"]');
var form_result_div = '#form-result';
$(form_result_div).remove();
form_btn.before('<div id="form-result" class="alert alert-success" role="alert" style="display: none;"></div>');
var form_btn_old_msg = form_btn.html();
form_btn.html(form_btn.prop('disabled', true).data("loading-text"));
$(form).ajaxSubmit({
dataType: 'json',
success: function(data) {
if( data.status == 'true' ) {
$(form).find('.form-control').val('');
}
form_btn.prop('disabled', false).html(form_btn_old_msg);
$(form_result_div).html(data.message).fadeIn('slow');
setTimeout(function(){ $(form_result_div).fadeOut('slow') }, 6000);
}
});
}
});
</script>
</div>
</div>
</div>
<button title="Close (Esc)" type="button" class="mfp-close font-36">×</button>
</div>
</section>