採用エントリーフォーム .horizontal-item{ width:9em; float:left } .horizontal-item label{ width:8em; } .formError{ margin-left:-20% !important; } jQuery(function() { try{ jQuery( 'html,body', parent.document ).animate({ scrollTop: 0 }, 300 ); }catch(e){ } try{ jQuery('html,body').animate({ scrollTop: $('.error').offset().top-200}, { duration: 300, easing: "swing", complete: function(){ } }); }catch(e){ } try{ jQuery('#郵便番号').keyup(function(event){ AjaxZip3.zip2addr(this,'','住所','住所'); }); }catch(e){ } }); お名前(必須) ふりがな(必須) 性別(必須) 男性 女性 無回答 年齢(必須) 郵便番号(必須) 住所(必須) 電話番号(必須) メールアドレス(必須) <!-- 学校名(任意) 希望日程(必須、複数選択可) 11 月16 日(木) --> 履歴書・職務経歴書(必須、JPG画像かPDFで添付してください) × その他質問等あればお書きください。(任意) jQuery('[name=担当者名],[name=ふりがな],[name=性別],[name=年齢],[name=郵便番号],[name=住所]').addClass("validate[required]"); jQuery('input[name=メールアドレス]').addClass("validate[required,custom[email]]"); jQuery('input[name="電話番号"]').addClass("validate[required,custom[phone]]"); window.onload = function(){ jQuery("form").validationEngine(); }