If I apply more than one rule, for example: [pre]regExp[/^[^0-9]+$/]:May not contain numbers
maxLength[10]:Must be less than 10[/pre]
it is written constantly, the error text of the rule that occurred first.
For example, I will state a number in the text, it will not say "May not contain numbers".
I delete the number and error disappear. I will extend the text beyond 10 characters, but the same error will still be displayed. ("May not contain numbers").
If the text is longer than 10 first after loading the form, it will be exactly the opposite.
I tried it despite the js function, but it's the same.
can be used as a function:
maxLength[10]:Must be less than 10[/pre]
it is written constantly, the error text of the rule that occurred first.
For example, I will state a number in the text, it will not say "May not contain numbers".
I delete the number and error disappear. I will extend the text beyond 10 characters, but the same error will still be displayed. ("May not contain numbers").
If the text is longer than 10 first after loading the form, it will be exactly the opposite.
I tried it despite the js function, but it's the same.
can be used as a function:
jQuery.fn.form.settings.rules.customfn = function(value, param) {do I set the error message text? This would use only one function and set the texts in it.[br]That would solve the problem.
......
return false/true