|
|
@ -1,4 +1,4 @@
|
|
|
|
<link href="https://data.asiahighlights.com/min/?f=/css/inquiry-form-mobile.css" rel="stylesheet">
|
|
|
|
<link href="/min/?f=/css/inquiry-form-mobile.css" rel="stylesheet">
|
|
|
|
<div id="formBanner">
|
|
|
|
<div id="formBanner">
|
|
|
|
<img src="https://data.asiahighlights.com/image/tm-banner-mobile.jpg"
|
|
|
|
<img src="https://data.asiahighlights.com/image/tm-banner-mobile.jpg"
|
|
|
|
alt="india kids" width="100%">
|
|
|
|
alt="india kids" width="100%">
|
|
|
@ -14,11 +14,13 @@
|
|
|
|
<h2>
|
|
|
|
<h2>
|
|
|
|
Your Travel Ideas
|
|
|
|
Your Travel Ideas
|
|
|
|
</h2>
|
|
|
|
</h2>
|
|
|
|
<h3>
|
|
|
|
<h3 id="destination_select">
|
|
|
|
Choose your interested destinations *
|
|
|
|
Choose your interested destinations *
|
|
|
|
|
|
|
|
|
|
|
|
</h3>
|
|
|
|
</h3>
|
|
|
|
<form action="/orders/tailormade_save/" method="POST" class="travelTag">
|
|
|
|
<form action="/orders/tailormade_save/" method="POST" class="travelTag">
|
|
|
|
<div class="selectionBlock">
|
|
|
|
<div class="selectionBlock">
|
|
|
|
|
|
|
|
<span id="destination_error_msg" style="color:#a31022;font-size:18px;" class="hidden">(Please select an option.)</span>
|
|
|
|
<?php foreach ($countrylist as $moreCity){
|
|
|
|
<?php foreach ($countrylist as $moreCity){
|
|
|
|
echo '<div class="checkboxLabel">';
|
|
|
|
echo '<div class="checkboxLabel">';
|
|
|
|
echo '<input type="checkbox" value="'.$moreCity.'" id="'.$moreCity.'" name="destination[]" />';
|
|
|
|
echo '<input type="checkbox" value="'.$moreCity.'" id="'.$moreCity.'" name="destination[]" />';
|
|
|
@ -31,8 +33,8 @@
|
|
|
|
<div class="clear">
|
|
|
|
<div class="clear">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="selectionBlock">
|
|
|
|
<div class="selectionBlock">
|
|
|
|
<h3>
|
|
|
|
<h3 id="hotelselect">
|
|
|
|
Your hotel preference *
|
|
|
|
Your hotel preference * <span id="hotel_error_msg" style="color:#a31022;font-size:18px;" class="hidden">( Please select an option. )</span>
|
|
|
|
</h3>
|
|
|
|
</h3>
|
|
|
|
<span class="formNote">
|
|
|
|
<span class="formNote">
|
|
|
|
Hotels prices in Japan are at least doubled based on the suggested rates
|
|
|
|
Hotels prices in Japan are at least doubled based on the suggested rates
|
|
|
@ -73,14 +75,15 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="selectionBlock">
|
|
|
|
<div class="selectionBlock">
|
|
|
|
<h3>
|
|
|
|
<h3 id="numberselect">
|
|
|
|
Number in your group *
|
|
|
|
Number in your group *
|
|
|
|
</h3>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
<span id="number_error_msg" style="color:#a31022;font-size:18px;" class="hidden">( Please fill in this field. )</span>
|
|
|
|
<div class="peopleSelect">
|
|
|
|
<div class="peopleSelect">
|
|
|
|
<span class="formMemo">
|
|
|
|
<span class="formMemo">
|
|
|
|
Adults (≥12 years old)
|
|
|
|
Adults (≥12 years old)
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<input class="number" type="text" value="2" οnblur="checkNumber(this)"
|
|
|
|
<input class="number" type="text" value="0" οnblur="checkNumber(this)"
|
|
|
|
name="adultnumber" />
|
|
|
|
name="adultnumber" />
|
|
|
|
<div class="numberBtn">
|
|
|
|
<div class="numberBtn">
|
|
|
|
<input class="minaddBtn reduceadult" type="button" value="-" />
|
|
|
|
<input class="minaddBtn reduceadult" type="button" value="-" />
|
|
|
@ -103,7 +106,7 @@
|
|
|
|
Your date of arrival *
|
|
|
|
Your date of arrival *
|
|
|
|
</h3>
|
|
|
|
</h3>
|
|
|
|
<input type="date" class="arrivalDate visible-xs" id="Date_Start" name="Date_Start_Mobile"
|
|
|
|
<input type="date" class="arrivalDate visible-xs" id="Date_Start" name="Date_Start_Mobile"
|
|
|
|
value="<?php echo date('Y-m-d',time() + 24*3600*7)?>" min="<?php echo date('Y-m-d',time() + 24*3600*7)?>" placeholder="mm/dd/yyyy" autocomplete="off">
|
|
|
|
value="<?php echo date('Y-m-d',time() + 24*3600*7)?>" min="<?php echo date('Y-m-d',time() + 24*3600*7)?>" placeholder="mm/dd/yyyy" autocomplete="off" required />
|
|
|
|
<div class="checkYes">
|
|
|
|
<div class="checkYes">
|
|
|
|
<input type="checkbox" class="checkBorder" id="dateLimit" name="time">
|
|
|
|
<input type="checkbox" class="checkBorder" id="dateLimit" name="time">
|
|
|
|
<label for="dateLimit" class="checkBlock">
|
|
|
|
<label for="dateLimit" class="checkBlock">
|
|
|
@ -241,12 +244,14 @@
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<span id="name_error_msg" style="color:#a31022;font-size:18px;" class="hidden">( Please fill out this field. )</span>
|
|
|
|
<div class="inputTerm">
|
|
|
|
<div class="inputTerm">
|
|
|
|
<input type="text" name="name" required>
|
|
|
|
<input type="text" name="name" required>
|
|
|
|
<label>
|
|
|
|
<label>
|
|
|
|
Full Name *
|
|
|
|
Full Name *
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<span id="email_error_msg" style="color:#a31022;font-size:18px;" class="hidden">( Please fill out this field. )</span>
|
|
|
|
<div class="inputTerm">
|
|
|
|
<div class="inputTerm">
|
|
|
|
<input type="email" name="email" required>
|
|
|
|
<input type="email" name="email" required>
|
|
|
|
<label>
|
|
|
|
<label>
|
|
|
@ -256,8 +261,9 @@
|
|
|
|
<span class="formMemo">
|
|
|
|
<span class="formMemo">
|
|
|
|
Your trip advisor will talk with you via email first.
|
|
|
|
Your trip advisor will talk with you via email first.
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span id="nation_error_msg" style="color:#a31022;font-size:18px;" class="hidden">( Please fill out this field. )</span>
|
|
|
|
<div class="inputTerm">
|
|
|
|
<div class="inputTerm">
|
|
|
|
<input type="text" name="nationality" required>
|
|
|
|
<input type="text" name="Nationality" required>
|
|
|
|
<label>
|
|
|
|
<label>
|
|
|
|
Nationality *
|
|
|
|
Nationality *
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
@ -279,7 +285,7 @@
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="inquiryBtn">
|
|
|
|
<div class="inquiryBtn">
|
|
|
|
<input type="submit" value="Start My Journey">
|
|
|
|
<button id="tmsubmit" href="javascript:;">Start My Journey</button>
|
|
|
|
<input type="hidden" name="url" value="<?php echo $orderfrom;?>" />
|
|
|
|
<input type="hidden" name="url" value="<?php echo $orderfrom;?>" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
@ -345,5 +351,86 @@ $(function(){
|
|
|
|
|
|
|
|
|
|
|
|
$('.destination').html(destinantionstr);
|
|
|
|
$('.destination').html(destinantionstr);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//表单验证
|
|
|
|
|
|
|
|
$('#tmsubmit').click(function(){
|
|
|
|
|
|
|
|
var adultnumber = $('input[name="adultnumber"]').val();
|
|
|
|
|
|
|
|
var hotel = $('input[name="hotel"]:checked').val();
|
|
|
|
|
|
|
|
var destinations = $('input[name="destination[]"]').is(":checked");
|
|
|
|
|
|
|
|
var name = $('input[name="name"]').val();
|
|
|
|
|
|
|
|
var email = $('input[name="email"]').val();
|
|
|
|
|
|
|
|
var Nationality = $('input[name="Nationality"]').val();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//目的地选择
|
|
|
|
|
|
|
|
if(destinations === false){
|
|
|
|
|
|
|
|
$("body,html").animate({
|
|
|
|
|
|
|
|
scrollTop: $('#destination_select').offset().top - 70
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$('#destination_error_msg').removeClass('hidden');
|
|
|
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
|
|
|
$('#destination_error_msg').addClass('hidden');
|
|
|
|
|
|
|
|
},5000);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//酒店选择
|
|
|
|
|
|
|
|
if(hotel === undefined){
|
|
|
|
|
|
|
|
$("body,html").animate({
|
|
|
|
|
|
|
|
scrollTop: $('#hotelselect').offset().top - 70
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$('#hotel_error_msg').removeClass('hidden');
|
|
|
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
|
|
|
$('#hotel_error_msg').addClass('hidden');
|
|
|
|
|
|
|
|
},5000);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//人数选择
|
|
|
|
|
|
|
|
if(adultnumber < 1){
|
|
|
|
|
|
|
|
console.log('123');
|
|
|
|
|
|
|
|
$("body,html").animate({
|
|
|
|
|
|
|
|
scrollTop: $('#numberselect').offset().top - 70
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$('#number_error_msg').removeClass('hidden');
|
|
|
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
|
|
|
$('#number_error_msg').addClass('hidden');
|
|
|
|
|
|
|
|
},5000);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//姓名验证
|
|
|
|
|
|
|
|
if(name == ''){
|
|
|
|
|
|
|
|
console.log('123');
|
|
|
|
|
|
|
|
$('input[name="name"]').focus();
|
|
|
|
|
|
|
|
$('#name_error_msg').removeClass('hidden');
|
|
|
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
|
|
|
$('#name_error_msg').addClass('hidden');
|
|
|
|
|
|
|
|
},5000);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//邮箱验证
|
|
|
|
|
|
|
|
if(email == ''){
|
|
|
|
|
|
|
|
console.log('123');
|
|
|
|
|
|
|
|
$('input[name="email"]').focus();
|
|
|
|
|
|
|
|
$('#email_error_msg').removeClass('hidden');
|
|
|
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
|
|
|
$('#email_error_msg').addClass('hidden');
|
|
|
|
|
|
|
|
},5000);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//国籍验证
|
|
|
|
|
|
|
|
if(Nationality == ''){
|
|
|
|
|
|
|
|
console.log('123');
|
|
|
|
|
|
|
|
$('input[name="Nationality"]').focus();
|
|
|
|
|
|
|
|
$('#nation_error_msg').removeClass('hidden');
|
|
|
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
|
|
|
$('#nation_error_msg').addClass('hidden');
|
|
|
|
|
|
|
|
},5000);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</script>
|