設定數據驗證-REQ-PARAMS當我嘗試設置多個參數 SyntaxError: JSON.parse: end of data while reading object contents at line 1 column 2 of the JSON data 我下面的formvalidator.net說明我得到這個錯誤。我正在使用jquery-2.2.2。這裏是我的代碼 <?php
$
我使用formvalidation.io(jQuery表單驗證的擴展)來驗證我的表單,並且遇到類型爲'number'的字段有問題。 我想使用該類型,以便在移動設備上向用戶顯示數字鍵。 場上驗證很簡單: depth: {
validators: {
notEmpty: {
message: 'You must enter the depth of the excava
我想使用server side validation by jQuery Form Validator。我的理解是有一個選項可以將附加參數以JSON的形式傳遞給服務器。下面的片段是從他們的網站: <?php
$json = json_encode(array('user'=>$user->get('ID')));
?>
<p>
<strong>E-ma