Hi, my english is not good enough, I hope I can explain it to you!!!

I`m using this to validate:

$(document).ready(function() {
 var validator = $("#form1").bind("invalid-form.validate", function() {

   $("#summary").html("<tr><td aling='right' width='2%' class='ico'><img
src='warning.gif' width='16' height='15' /></td>"+
          "<td width='98%' valign='top' aling='center'
class='err_validation'>"+
          "<t1taglib:PrintMsg msgcode="RECOVERABLE_ERROR_MSG"
/></td></tr>");
  }).validate({
  rules: {
   errorContainer: $("#summary"),
   input1: "required",
   input2: "required",
   input3: "required"
     }
  });
  });


I have the submit button to validate that the 3 inputs are complete and
redirect to page1.jsp,
and the submit link that checks that only input1 is complete to opens a
pop-up window.

Thank! Sole.

Reply via email to