お問い合わせ

下記のお問合せ・お申込みフォームのは、必須項目です。
お問い合わせ
メールアドレス
メールアドレス
(確認再入力)
 
フォームを保存する
"); $('#mail').addClass('red_border'); ret = false; }else{ if($('#mail_again').length){ if($('#mail').val() != $('#mail_again').val()){ $('#id_error_form_note_mail').html("
メールアドレス(確認)と一致していません
"); $('#id_error_form_note_mail_again').html("
メールアドレスと一致していません
"); $('#mail').addClass('red_border'); $('#mail_again').addClass('red_border'); ret = false; } } if( !$('#mail').val().match( /.+@.+\..+/ ) ) { $('#id_error_form_note_mail').html("メールアドレスの型になっていないようです。確認してください"); $('#mail').addClass('red_border'); ret = false; } } }); jQuery(function($){ $('#id_error_form_note_name').html('');if($('#first_name').val() == ''){ ret = false; $('#id_error_form_note_name').html("
姓は必須です
"); $('#first_name').addClass('red_border'); }if($('#last_name').val() == ''){ ret = false; $('#id_error_form_note_name').append("
名は必須です
"); $('#last_name').addClass('red_border'); }$('#id_error_form_note_furi_name').html('');$('#id_error_form_note_comment').html(''); }); if(!ret){ if(alt){ alert('入力に問題があるようです。赤い文字の箇所を確認してください'); } return false; }else{ return true; } } function pre_post_action(){ return js_validation(); } function confirm_mode(mode){ jQuery(function($){ $('#id_confirm_mode').val(mode); $('body, html').animate({ scrollTop: ($('#frmregist').offset().top-136) }, 250); if(mode){ $('#id_c_inquiry').slideUp(250); $('.confirm_show').each(function(i, elm) { $(elm).hide(); var txt = ''; switch($(elm).prop('tagName')){ case 'SELECT': var id = $(elm).attr('id'); txt = $('#' + id + ' option:selected').text(); break; case 'INPUT': if($(elm).attr('type') == 'checkbox'){ if($(elm).prop('checked') == true){ txt = $(elm).attr('label'); }else{ txt = ''; } }else{ if($(elm).attr('type') == 'password'){ txt = '******'; }else{ if(!($(elm).attr('type') == 'button' || $(elm).attr('type') == 'submit')){ txt = $(elm).val(); } } } break; default: txt = $(elm).val(); break; } if(txt != ''){ txt = txt.replace('script','removed'); txt = txt.replace(/&/g,'&').replace(/"/g,'"').replace(/'/g,''').replace(//g,'>'); $(elm).after("" + txt + ""); } }); $('.confirm_show_area').show(); $('.form_note').hide(); $('.confirm_hide').hide(); $('#id_area_form_privacy').hide(); $('#id_submit_cancel').show(); $('span.hissu').hide(); $('div.hosoku').hide(); $('span.cfrmchk > label').hide(); $('#id_confirm_text').show(); $('#id_submit').show(); $('#id_c_inquiry').slideDown(250); }else{ $('.confirm_show_area').hide(); $('.form_note').show(); $('#id_confirm_text').hide(); $('.confirm').remove(); $('.confirm_hide').show(); $('.confirm_show').show(); $('.fix_hide').hide(); if($('#id_area_form_privacy').html() != ''){ $('#id_area_form_privacy').show(); } $('#id_submit_cancel').hide(); $('span.hissu').show(); $('div.hosoku').show(); $('span.cfrmchk > label').show(); $('#form_caution').show(); $('#id_submit_confirm').show(); $('#id_submit').prop('disabled', false); $('#id_submit').hide(); } }); } var submit_events; jQuery(function($){ $('#id_submit_confirm').click(function() { if(pre_post_action()){ cookie_all_write(); confirm_mode(1); } else { confirm_mode(0); } }); $('#id_submit_cancel').click(function() { confirm_mode(0); }); $('#frmregist').submit(function() { $('#id_submit').prop('disabled', true); if(pre_post_action()){ if($('#id_confirm_mode').val() == 0){ confirm_mode(1); return false; }else{ $('#frmregist').attr('action','https://admin.funaifoundation.jp/regist/inquiry_send/funai/1/yes/0/'); return true; } } else { confirm_mode(0); $('#id_submit').prop('disabled', false); return false; } }); });
警告:
Javascriptが有効でない場合、このフォームは動作致しません。
Contact
お問い合わせ