2014-08-29 30 views

回答

0

修復或解決方案:

建議: 務必仔細閱讀驗證庫文件以及基本實現的例子。在您的網站上使用

官方驗證庫是在鏈接:測試後,實施以下缺失的東西代碼開始按要求工作 https://github.com/atetlaw/Really-Easy-Field-Validation

缺少代碼:

在頁腳:身體標記

<script type="text/javascript"> 
    new Validation('contactForm'); // OR new Validation(document.forms[0]); 
</script> 

之前在head標籤:

<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js" type="text/javascript"></script> 
<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/effects.js" type="text/javascript"></script> 

通過以上兩個東西在驗證電子郵件完美的工作做。 請閱讀上面提到的驗證庫代碼和示例,並且 再試一次。

謝謝 希望它有幫助

+0

它的工作!非常感謝你! – platzchen 2014-08-30 19:24:30