validateElem = [{"type":"text","alias":"お名前","name":"name","validate_if_label":"","validate_if_value":"","convert":"","limit":"","optional_limit":"","optional_limit_false":false,"convertKanaTo":"kana","convertKanaMode":"katakana","isneed":true,"lengthMin":"","lengthMax":"","numMin":"","numMax":"","equals":"","length_error":"2文字以上30文字以内でご記入ください","range_error":"数値を確認してください","limit_error":"正しい値をご記入ください","empty_error":"お名前をご入力ください","equals_error":"値が一致しません","zip_to_pref":"","zip_to_addr":"","group_zip":false,"group_tel":false,"bl_align":"top","bl_offset_x":"0","bl_offset_y":"0","elems":[],"maxlength":null},{"type":"text","alias":"フリガナ","name":"kana","validate_if_label":"","validate_if_value":"","convert":"","limit":"","optional_limit":"","optional_limit_false":false,"convertKanaTo":"","convertKanaMode":"","isneed":true,"lengthMin":"","lengthMax":"","numMin":"","numMax":"","equals":"","length_error":"2文字以上30文字以内でご記入ください","range_error":"数値を確認してください","limit_error":"正しい値をご記入ください","empty_error":"フリガナをご入力ください","equals_error":"値が一致しません","zip_to_pref":"","zip_to_addr":"","group_zip":false,"group_tel":false,"bl_align":"top","bl_offset_x":"0","bl_offset_y":"0","elems":[],"maxlength":null},{"type":"mail","alias":"メールアドレス","name":"mail","validate_if_label":"","validate_if_value":"","convert":"","limit":"number","optional_limit":"","optional_limit_false":false,"convertKanaTo":"","convertKanaMode":"","isneed":true,"lengthMin":"","lengthMax":"","numMin":"","numMax":"","equals":"","length_error":"○文字以上○文字以内でご記入ください","range_error":"数値を確認してください","limit_error":"半角英数字でご記入ください","empty_error":"メールアドレスをご入力ください","equals_error":"値が一致しません","zip_to_pref":"","zip_to_addr":"","group_zip":false,"group_tel":false,"bl_align":"top","bl_offset_x":"0","bl_offset_y":"0","elems":[],"maxlength":null},{"type":"text","alias":"電話番号","name":"tel","validate_if_label":"","validate_if_value":"","convert":"number","limit":"","optional_limit":"","optional_limit_false":false,"convertKanaTo":"","convertKanaMode":"","isneed":true,"lengthMin":"","lengthMax":"","numMin":"","numMax":"","equals":"","length_error":"○文字以上○文字以内でご記入ください","range_error":"数値を確認してください","limit_error":"正しい値をご記入ください","empty_error":"電話番号をご記入ください","equals_error":"値が一致しません","zip_to_pref":"","zip_to_addr":"","group_zip":false,"group_tel":false,"bl_align":"top","bl_offset_x":"0","bl_offset_y":"0","elems":[],"maxlength":null},{"type":"zip_1col_nohyphen","alias":"郵便番号(1カラムハイフンなし)","name":"free_7","validate_if_label":"","validate_if_value":"","convert":"","limit":"","optional_limit":"","optional_limit_false":false,"convertKanaTo":"","convertKanaMode":"","isneed":false,"lengthMin":"","lengthMax":"","numMin":"","numMax":"","equals":"","length_error":"○文字以上○文字以内でご記入ください","range_error":"数値を確認してください","limit_error":"正しい値をご記入ください","empty_error":"郵便番号をハイフン無しで入力してください","equals_error":"値が一致しません","zip_to_pref":"free_8","zip_to_addr":"free_8","group_zip":false,"group_tel":false,"bl_align":"top","bl_offset_x":"0","bl_offset_y":"0","elems":[],"maxlength":null},{"type":"text","alias":"住所","name":"free_8","validate_if_label":"","validate_if_value":"","convert":"","limit":"","optional_limit":"","optional_limit_false":false,"convertKanaTo":"","convertKanaMode":"","isneed":false,"lengthMin":"","lengthMax":"","numMin":"","numMax":"","equals":"","length_error":"○文字以上○文字以内でご記入ください","range_error":"数値を確認してください","limit_error":"正しい値をご記入ください","empty_error":"住所をご入力ください","equals_error":"値が一致しません","zip_to_pref":"","zip_to_addr":"","group_zip":false,"group_tel":false,"bl_align":"top","bl_offset_x":"0","bl_offset_y":"0","elems":[],"maxlength":null},{"type":"textarea","alias":"お問合せ内容","name":"free_11","validate_if_label":"","validate_if_value":"","convert":"","limit":"","optional_limit":"","optional_limit_false":false,"convertKanaTo":"","convertKanaMode":"","isneed":false,"lengthMin":"","lengthMax":"","numMin":"","numMax":"","equals":"","length_error":"○文字以上○文字以内でご記入ください","range_error":"数値を確認してください","limit_error":"正しい値をご記入ください","empty_error":"お問合せ内容を入力してください。","equals_error":"値が一致しません","zip_to_pref":"","zip_to_addr":"","group_zip":false,"group_tel":false,"bl_align":"top","bl_offset_x":"0","bl_offset_y":"0","elems":[],"maxlength":null}]; //initialize var agefo = null; $jqnc.event.add(window, 'load', function() { agefo = new AGEFO(28); $jqnc.event.add($jqnc("form").get(0), "submit", function() { return agefo.onSubmitForm(); }); });