メニューをスキップして、このページの本文へ

モニター応募フォーム

 

  • 必要事項をご入力のうえ、送信ボタンをクリックしてください
  • モニターに関する詳細は こちらをご覧ください
開設者について
※半角数字で入力してください。ハイフン不要
開設する病院について
※原則、開設しているすべての病院についてご登録及び回答をしていただきます。
すべての病院について回答が難しい場合は、ご相談ください。
※半角数字で入力してください
西暦 ※半角数字で入力してください
※他にも病院を開設されている場合は、チェックのうえ入力をしてください
本件に関するご担当者について
※半角数字で入力してください。ハイフン不要
※半角数字で入力してください。ハイフン不要

if ($("input[name='099_kakunin_sousin']")[0]) { // 送信ボタンが表示されている場合 if ($("input[name='008_hsp_next_00[data]']")[0]) { $('#008_hsp_01_table').show(); } if ($("input[name='008_hsp_next_01[data]']")[0]) { $('#008_hsp_02_table').show(); } if ($("input[name='008_hsp_next_02[data]']")[0]) { $('#008_hsp_03_table').show(); } if ($("input[name='008_hsp_next_03[data]']")[0]) { $('#008_hsp_04_table').show(); } if ($("input[name='008_hsp_next_04[data]']")[0]) { $('#008_hsp_05_table').show(); } if ($("input[name='008_hsp_next_05[data]']")[0]) { $('#008_hsp_06_table').show(); } if ($("input[name='008_hsp_next_06[data]']")[0]) { $('#008_hsp_07_table').show(); } if ($("input[name='008_hsp_next_07[data]']")[0]) { $('#008_hsp_08_table').show(); } if ($("input[name='008_hsp_next_08[data]']")[0]) { $('#008_hsp_09_table').show(); } } else { if ($('input[name="008_hsp_next_00[data][]"]').prop("checked")) { $('#008_hsp_01_table').show(); } if ($('input[name="008_hsp_next_01[data][]"]').prop("checked")) { $('#008_hsp_02_table').show(); } if ($('input[name="008_hsp_next_02[data][]"]').prop("checked")) { $('#008_hsp_03_table').show(); } if ($('input[name="008_hsp_next_03[data][]"]').prop("checked")) { $('#008_hsp_04_table').show(); } if ($('input[name="008_hsp_next_04[data][]"]').prop("checked")) { $('#008_hsp_05_table').show(); } if ($('input[name="008_hsp_next_05[data][]"]').prop("checked")) { $('#008_hsp_06_table').show(); } if ($('input[name="008_hsp_next_06[data][]"]').prop("checked")) { $('#008_hsp_07_table').show(); } if ($('input[name="008_hsp_next_07[data][]"]').prop("checked")) { $('#008_hsp_08_table').show(); } if ($('input[name="008_hsp_next_08[data][]"]').prop("checked")) { $('#008_hsp_09_table').show(); } } $('input[name="008_hsp_next_00[data][]"]').change(function() { if ($('input[name="008_hsp_next_00[data][]"]').prop("checked")) { $('#008_hsp_01_table').show(); } else { $('#008_hsp_01_table').hide(); } }); $('input[name="008_hsp_next_01[data][]"]').change(function() { if ($('input[name="008_hsp_next_01[data][]"]').prop("checked")) { $('#008_hsp_02_table').show(); } else { $('#008_hsp_02_table').hide(); } }); $('input[name="008_hsp_next_02[data][]"]').change(function() { if ($('input[name="008_hsp_next_02[data][]"]').prop("checked")) { $('#008_hsp_03_table').show(); } else { $('#008_hsp_03_table').hide(); } }); $('input[name="008_hsp_next_03[data][]"]').change(function() { if ($('input[name="008_hsp_next_03[data][]"]').prop("checked")) { $('#008_hsp_04_table').show(); } else { $('#008_hsp_04_table').hide(); } }); $('input[name="008_hsp_next_04[data][]"]').change(function() { if ($('input[name="008_hsp_next_04[data][]"]').prop("checked")) { $('#008_hsp_05_table').show(); } else { $('#008_hsp_05_table').hide(); } }); $('input[name="008_hsp_next_05[data][]"]').change(function() { if ($('input[name="008_hsp_next_05[data][]"]').prop("checked")) { $('#008_hsp_06_table').show(); } else { $('#008_hsp_06_table').hide(); } }); $('input[name="008_hsp_next_06[data][]"]').change(function() { if ($('input[name="008_hsp_next_06[data][]"]').prop("checked")) { $('#008_hsp_07_table').show(); } else { $('#008_hsp_07_table').hide(); } }); $('input[name="008_hsp_next_07[data][]"]').change(function() { if ($('input[name="008_hsp_next_07[data][]"]').prop("checked")) { $('#008_hsp_08_table').show(); } else { $('#008_hsp_08_table').hide(); } }); $('input[name="008_hsp_next_08[data][]"]').change(function() { if ($('input[name="008_hsp_next_08[data][]"]').prop("checked")) { $('#008_hsp_09_table').show(); } else { $('#008_hsp_09_table').hide(); } }); if ($("input[name='submitConfirm']")[0]) { // 「内容確認」ボタンが表示されている場合 // フォームのsubmitをフックするとプラグイン絡み?でおかしくなるので一旦ボタンのタイプを変更 $("input[name='submitConfirm']").get(0).type = 'button'; // クリックイベント取得 $("input[name='submitConfirm']").click(function() { // 「内容確認」ボタンを押下した場合 $('#alert_008_hsp_name_00').hide(); $('#alert_008_hsp_bed_00').hide(); $('#alert_008_hsp_year_00').hide(); $('#alert_008_hsp_name_01').hide(); $('#alert_008_hsp_bed_01').hide(); $('#alert_008_hsp_year_01').hide(); $('#alert_008_hsp_name_02').hide(); $('#alert_008_hsp_bed_02').hide(); $('#alert_008_hsp_year_02').hide(); $('#alert_008_hsp_name_03').hide(); $('#alert_008_hsp_bed_03').hide(); $('#alert_008_hsp_year_03').hide(); $('#alert_008_hsp_name_04').hide(); $('#alert_008_hsp_bed_04').hide(); $('#alert_008_hsp_year_04').hide(); $('#alert_008_hsp_name_05').hide(); $('#alert_008_hsp_bed_05').hide(); $('#alert_008_hsp_year_05').hide(); $('#alert_008_hsp_name_06').hide(); $('#alert_008_hsp_bed_06').hide(); $('#alert_008_hsp_year_06').hide(); $('#alert_008_hsp_name_07').hide(); $('#alert_008_hsp_bed_07').hide(); $('#alert_008_hsp_year_07').hide(); $('#alert_008_hsp_name_08').hide(); $('#alert_008_hsp_bed_08').hide(); $('#alert_008_hsp_year_08').hide(); $('#alert_008_hsp_name_09').hide(); $('#alert_008_hsp_bed_09').hide(); $('#alert_008_hsp_year_09').hide(); if ($('#008_hsp_name_00').val() == '') { // 病院名が入力されていない場合はalert表示 $('#alert_008_hsp_name_00').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_bed_00').val())) { // 許可病床数が半角数値ではない場合はalert表示 $('#alert_008_hsp_bed_00').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_year_00').val())) { // 病院開設年が半角数値ではない場合はalert表示 $('#alert_008_hsp_year_00').show(); return false; } if ($('input[name="008_hsp_next_00[data][]"]').prop("checked")) { // 一つ目の「続けて別の病院情報を入力」がチェックされている場合 // 二つ目の病院情報をバリデーション if ($('#008_hsp_name_01').val() == '') { // 病院名が入力されていない場合はalert表示 $('#alert_008_hsp_name_01').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_bed_01').val())) { // 許可病床数が半角数値ではない場合はalert表示 $('#alert_008_hsp_bed_01').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_year_01').val())) { // 病院開設年が半角数値ではない場合はalert表示 $('#alert_008_hsp_year_01').show(); return false; } } if ($('input[name="008_hsp_next_01[data][]"]').prop("checked")) { // 二つ目の「続けて別の病院情報を入力」がチェックされている場合 // 三つ目の病院情報をバリデーション if ($('#008_hsp_name_02').val() == '') { // 病院名が入力されていない場合はalert表示 $('#alert_008_hsp_name_02').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_bed_02').val())) { // 許可病床数が半角数値ではない場合はalert表示 $('#alert_008_hsp_bed_02').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_year_02').val())) { // 病院開設年が半角数値ではない場合はalert表示 $('#alert_008_hsp_year_02').show(); return false; } } if ($('input[name="008_hsp_next_02[data][]"]').prop("checked")) { // 三つ目の「続けて別の病院情報を入力」がチェックされている場合 // 四つ目の病院情報をバリデーション if ($('#008_hsp_name_03').val() == '') { // 病院名が入力されていない場合はalert表示 $('#alert_008_hsp_name_03').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_bed_03').val())) { // 許可病床数が半角数値ではない場合はalert表示 $('#alert_008_hsp_bed_03').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_year_03').val())) { // 病院開設年が半角数値ではない場合はalert表示 $('#alert_008_hsp_year_03').show(); return false; } } if ($('input[name="008_hsp_next_03[data][]"]').prop("checked")) { // 四つ目の「続けて別の病院情報を入力」がチェックされている場合 // 五つ目の病院情報をバリデーション if ($('#008_hsp_name_04').val() == '') { // 病院名が入力されていない場合はalert表示 $('#alert_008_hsp_name_04').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_bed_04').val())) { // 許可病床数が半角数値ではない場合はalert表示 $('#alert_008_hsp_bed_04').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_year_04').val())) { // 病院開設年が半角数値ではない場合はalert表示 $('#alert_008_hsp_year_04').show(); return false; } } if ($('input[name="008_hsp_next_04[data][]"]').prop("checked")) { // 五つ目の「続けて別の病院情報を入力」がチェックされている場合 // 六つ目の病院情報をバリデーション if ($('#008_hsp_name_05').val() == '') { // 病院名が入力されていない場合はalert表示 $('#alert_008_hsp_name_05').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_bed_05').val())) { // 許可病床数が半角数値ではない場合はalert表示 $('#alert_008_hsp_bed_05').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_year_05').val())) { // 病院開設年が半角数値ではない場合はalert表示 $('#alert_008_hsp_year_05').show(); return false; } } if ($('input[name="008_hsp_next_05[data][]"]').prop("checked")) { // 六つ目の「続けて別の病院情報を入力」がチェックされている場合 // 七つ目の病院情報をバリデーション if ($('#008_hsp_name_06').val() == '') { // 病院名が入力されていない場合はalert表示 $('#alert_008_hsp_name_06').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_bed_06').val())) { // 許可病床数が半角数値ではない場合はalert表示 $('#alert_008_hsp_bed_06').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_year_06').val())) { // 病院開設年が半角数値ではない場合はalert表示 $('#alert_008_hsp_year_06').show(); return false; } } if ($('input[name="008_hsp_next_06[data][]"]').prop("checked")) { // 七つ目の「続けて別の病院情報を入力」がチェックされている場合 // 八つ目の病院情報をバリデーション if ($('#008_hsp_name_07').val() == '') { // 病院名が入力されていない場合はalert表示 $('#alert_008_hsp_name_07').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_bed_07').val())) { // 許可病床数が半角数値ではない場合はalert表示 $('#alert_008_hsp_bed_07').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_year_07').val())) { // 病院開設年が半角数値ではない場合はalert表示 $('#alert_008_hsp_year_07').show(); return false; } } if ($('input[name="008_hsp_next_07[data][]"]').prop("checked")) { // 八つ目の「続けて別の病院情報を入力」がチェックされている場合 // 九つ目の病院情報をバリデーション if ($('#008_hsp_name_08').val() == '') { // 病院名が入力されていない場合はalert表示 $('#alert_008_hsp_name_08').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_bed_08').val())) { // 許可病床数が半角数値ではない場合はalert表示 $('#alert_008_hsp_bed_08').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_year_08').val())) { // 病院開設年が半角数値ではない場合はalert表示 $('#alert_008_hsp_year_08').show(); return false; } } if ($('input[name="008_hsp_next_08[data][]"]').prop("checked")) { // 九つ目の「続けて別の病院情報を入力」がチェックされている場合 // 十個目の病院情報をバリデーション if ($('#008_hsp_name_09').val() == '') { // 病院名が入力されていない場合はalert表示 $('#alert_008_hsp_name_09').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_bed_09').val())) { // 許可病床数が半角数値ではない場合はalert表示 $('#alert_008_hsp_bed_09').show(); return false; } if (!$().isEmptyOrNumeric($('#008_hsp_year_09').val())) { // 病院開設年が半角数値ではない場合はalert表示 $('#alert_008_hsp_year_09').show(); return false; } } // バリデーションが問題なければボタンをsubmitに戻してクリックイベントを再発生 // (プラグインの絡み?で直接フォームをPOSTするとうまく動かないのでボタンクリックにする) $("input[name='submitConfirm']").get(0).type = 'submit'; $("input[name='submitConfirm']").click(); }); } $.fn.isEmptyOrNumeric = function(data) { if (data == '') { return false; } if (data.match(/[^0-9]+/)) { return false; } return true; }

$(function() { $(".clearForm").bind("click", function() { $(this.form).find("textarea,:text,select").val("").end().find(":checked").prop("checked", false); $('#008_hsp_01_table').hide(); $('#008_hsp_02_table').hide(); $('#008_hsp_03_table').hide(); $('#008_hsp_04_table').hide(); $('#008_hsp_05_table').hide(); $('#008_hsp_06_table').hide(); $('#008_hsp_07_table').hide(); $('#008_hsp_08_table').hide(); $('#008_hsp_09_table').hide(); }); });