struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walk, Christopher" <cw...@triactive.com>
Subject Integer Validation - Not catching invalid input.
Date Fri, 13 Dec 2002 16:00:40 GMT
I'm experiencing a problem with the integer validator.  The validator is not
catching invalid integer input at the client (in the javascript).

I've traced through the execution path and the validateInteger() function
exits out on the "oInteger = " line below (IOW, never makes it to
alert("2")):

function validateInteger(form) {
               var bValid = true;
               var focusField = null;
               var i = 0;
               var fields = new Array();
               alert("1");
               oInteger = new IntegerValidations();
               alert("2");

Has anyone experienced a similar problem?

Regards,
-Chris

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message