|
|
@ -34,7 +34,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="selectionBlock">
|
|
|
|
<div class="selectionBlock">
|
|
|
|
<h3 id="hotelselect">
|
|
|
|
<h3 id="hotelselect">
|
|
|
|
Your hotel preference * <span id="hotel_error_msg" style="color:#a31022;font-size:18px;" class="hidden">( Please select an option. )</span>
|
|
|
|
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
|
|
|
@ -78,7 +78,7 @@
|
|
|
|
<h3 id="numberselect">
|
|
|
|
<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>
|
|
|
|
<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)
|
|
|
@ -102,8 +102,8 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="selectionBlock">
|
|
|
|
<div class="selectionBlock">
|
|
|
|
<h3 id="dateselect">
|
|
|
|
<h3>
|
|
|
|
Your date of arrival * <span id="date_error_msg" style="color:#a31022;font-size:18px;" class="hidden">( Please fill out this field. )</span>
|
|
|
|
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" />
|
|
|
@ -244,14 +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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
@ -261,7 +261,7 @@
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
@ -360,7 +360,6 @@ $(function(){
|
|
|
|
var name = $('input[name="name"]').val();
|
|
|
|
var name = $('input[name="name"]').val();
|
|
|
|
var email = $('input[name="email"]').val();
|
|
|
|
var email = $('input[name="email"]').val();
|
|
|
|
var Nationality = $('input[name="Nationality"]').val();
|
|
|
|
var Nationality = $('input[name="Nationality"]').val();
|
|
|
|
var date = $('input[name="Date_Start"]').val();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//目的地选择
|
|
|
|
//目的地选择
|
|
|
|
if(destinations === false){
|
|
|
|
if(destinations === false){
|
|
|
@ -388,7 +387,6 @@ $(function(){
|
|
|
|
|
|
|
|
|
|
|
|
//人数选择
|
|
|
|
//人数选择
|
|
|
|
if(adultnumber < 1){
|
|
|
|
if(adultnumber < 1){
|
|
|
|
console.log('123');
|
|
|
|
|
|
|
|
$("body,html").animate({
|
|
|
|
$("body,html").animate({
|
|
|
|
scrollTop: $('#numberselect').offset().top - 70
|
|
|
|
scrollTop: $('#numberselect').offset().top - 70
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -399,21 +397,8 @@ $(function(){
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//时间选择
|
|
|
|
|
|
|
|
if(date == ''){
|
|
|
|
|
|
|
|
$("body,html").animate({
|
|
|
|
|
|
|
|
scrollTop: $('#dateselect').offset().top - 70
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$('#date_error_msg').removeClass('hidden');
|
|
|
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
|
|
|
$('#date_error_msg').addClass('hidden');
|
|
|
|
|
|
|
|
},5000);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//姓名验证
|
|
|
|
//姓名验证
|
|
|
|
if(name == ''){
|
|
|
|
if(name == ''){
|
|
|
|
console.log('123');
|
|
|
|
|
|
|
|
$('input[name="name"]').focus();
|
|
|
|
$('input[name="name"]').focus();
|
|
|
|
$('#name_error_msg').removeClass('hidden');
|
|
|
|
$('#name_error_msg').removeClass('hidden');
|
|
|
|
setTimeout(function(){
|
|
|
|
setTimeout(function(){
|
|
|
@ -424,7 +409,6 @@ $(function(){
|
|
|
|
|
|
|
|
|
|
|
|
//邮箱验证
|
|
|
|
//邮箱验证
|
|
|
|
if(email == ''){
|
|
|
|
if(email == ''){
|
|
|
|
console.log('123');
|
|
|
|
|
|
|
|
$('input[name="email"]').focus();
|
|
|
|
$('input[name="email"]').focus();
|
|
|
|
$('#email_error_msg').removeClass('hidden');
|
|
|
|
$('#email_error_msg').removeClass('hidden');
|
|
|
|
setTimeout(function(){
|
|
|
|
setTimeout(function(){
|
|
|
|