question about jQuery inline form validation

getaloan53

New Member
Here is a link on jQuery inline form validation that I'm trying to usehttp://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/Everything looks good but I have a small problemI have an input where I use this kind of validation\[code\]'validate[length[6,15]]'\[/code\]It checks if number of length of input value and if it is less then 6 or grater then 15 gives and error.Now what I want is to add there chance for input to have value length=0 , so the validation won't fire any error message.Is that possible ?UPDATEThis is submit blocking function\[code\]<script type='text/javascript'> $(document).ready(function() {$('#standart_form').validationEngine(); $('#standart_form').submit(function() { return false; }); }); </script>\[/code\]Now when I was using this \[code\]'validate[length[6,15]]'\[/code\] everything was working good. But If I try using new custom functions the whole forms submits itself ruining my ajax based application.
 
Top