‰åªèƒ½åŒ…å«è‡³å¤š50个å—符。","skipOnEmpty":1});yii.validation.required(value, messages, {"message":"åå‰ãŒå¿…è¦ã§ã™."});}},{"id":"sendmail-email","name":"email","container":".field-sendmail-email","input":"#sendmail-email","validate":function (attribute, value, messages, deferred, $form) {yii.validation.string(value, messages, {"message":"Eメール必须是一æ¡å—符串。","max":50,"tooLong":"Eメールåªèƒ½åŒ…å«è‡³å¤š50个å—符。","skipOnEmpty":1});yii.validation.required(value, messages, {"message":"メールãŒå¿…è¦ã§ã™."});yii.validation.email(value, messages, {"pattern":/^[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/,"fullPattern":/^[^@]*<[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/,"allowName":false,"message":"ã“ã®ãƒ¡ãƒ¼ãƒ«ã¯ç„¡åŠ¹ã§ã™.","enableIDN":false,"skipOnEmpty":1});}},{"id":"sendmail-company","name":"company","container":".field-sendmail-company","input":"#sendmail-company","validate":function (attribute, value, messages, deferred, $form) {yii.validation.string(value, messages, {"message":"会社必须是一æ¡å—符串。","max":50,"tooLong":"会社åªèƒ½åŒ…å«è‡³å¤š50个å—符。","skipOnEmpty":1});yii.validation.required(value, messages, {"message":"会社åã¯å¿…é ˆã§ã™."});}},{"id":"sendmail-country","name":"country","container":".field-sendmail-country","input":"#sendmail-country","validate":function (attribute, value, messages, deferred, $form) {yii.validation.string(value, messages, {"message":"国必须是一æ¡å—符串。","max":50,"tooLong":"国åªèƒ½åŒ…å«è‡³å¤š50个å—符。","skipOnEmpty":1});}},{"id":"sendmail-message","name":"message","container":".field-sendmail-message","input":"#sendmail-message","validate":function (attribute, value, messages, deferred, $form) {yii.validation.string(value, messages, {"message":"マッサージ必须是一æ¡å—符串。","max":255,"tooLong":"マッサージåªèƒ½åŒ…å«è‡³å¤š255个å—符。","skipOnEmpty":1});yii.validation.required(value, messages, {"message":"マッサージãŒå¿…è¦ã§ã™."});}}], []); jQuery('#foot-form').yiiActiveForm([{"id":"sendmail-from","name":"from","container":".field-sendmail-from","input":"#sendmail-from","validate":function (attribute, value, messages, deferred, $form) {yii.validation.string(value, messages, {"message":"from必须是一æ¡å—符串。","max":255,"tooLong":"fromåªèƒ½åŒ…å«è‡³å¤š255个å—符。","skipOnEmpty":1});yii.validation.required(value, messages, {"message":"fromä¸èƒ½ä¸ºç©ºã€‚"});}},{"id":"sendmail-email","name":"email","container":".field-foot-email-name","input":"#foot-email-name","validate":function (attribute, value, messages, deferred, $form) {yii.validation.string(value, messages, {"message":"Eメール必须是一æ¡å—符串。","max":50,"tooLong":"Eメールåªèƒ½åŒ…å«è‡³å¤š50个å—符。","skipOnEmpty":1});yii.validation.required(value, messages, {"message":"メールãŒå¿…è¦ã§ã™."});yii.validation.email(value, messages, {"pattern":/^[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/,"fullPattern":/^[^@]*<[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/,"allowName":false,"message":"ã“ã®ãƒ¡ãƒ¼ãƒ«ã¯ç„¡åŠ¹ã§ã™.","enableIDN":false,"skipOnEmpty":1});}},{"id":"sendmail-message","name":"message","container":".field-foot-email-message","input":"#foot-email-message","validate":function (attribute, value, messages, deferred, $form) {yii.validation.string(value, messages, {"message":"マッサージ必须是一æ¡å—符串。","max":255,"tooLong":"マッサージåªèƒ½åŒ…å«è‡³å¤š255个å—符。","skipOnEmpty":1});yii.validation.required(value, messages, {"message":"マッサージãŒå¿…è¦ã§ã™."});}}], []); $("#search_form").submit(function(e){ if ($("#keywordInput").val().length==0){ alert("Keyword is required"); return false; } }); });