I got it to work!
Solution:
Thanks!
/N
On 17 Apr, 20:09, Skatan wrote:
> I would like to validate my form with jQuery when the pages directly
> when the page is loading without need of submit, keyup. This because I
> want it to work togheter with a PHP/server scriptvalidationin the
> next st
Where should I put that code line?
This is my JS:
// extend the current rules with new groovy ones
$().ready(function() {
var validator = $("#texttests").bind("invalid-form.validate",
function() {
$("#summary").html("Your form contains "
Try:
$("#myform").validate(validation_options).form();
You might need to add a condition check to make sure the form was
submitted, since you probably don't want this code to run
automatically on the initial form load before the user actually
submitted the form for the first time.
On Apr 17, 8:0
3 matches
Mail list logo