2016-12-01 109 views
-1

我使用Parsley JS進行表單驗證,但是我不知道我缺少什麼。目前,HTML5正在做驗證部分。如果有人能夠協助我,我會非常感激,因爲我正在絞盡腦汁,無法解決問題。Parsley.JS表單驗證問題

這是我的代碼。

只形成代碼:

http://hastebin.com/ecofitidir.html

全頁代碼:

http://hastebin.com/etawaduqif.html

網站:

www.polarpos.com/contacttest/application.php

+0

這裏是網站: www.polarpos.com/contacttest/application.php –

回答

0

enter image description here我已經試過你的代碼,驗證工作完美。再次嘗試下載parsley.min.js,並確保你的腳本,像這樣:

你的代碼是罰款不改變它。 順便說一句,它不需要任何ja代碼工作。這是我的代碼。我已經嘗試過在我的laravel項目

enter image description here

+1

你介意張貼出現的屏幕截圖給你? 它應該看起來像它在這個例子中所示: http://parsleyjs.org/doc/examples/simple.html –

+0

我已經添加了一個屏幕截圖到我的回答你看過它嗎? –