commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edo.dov...@convergys.com
Subject commons-validator - javascript error
Date Wed, 05 Apr 2006 08:04:00 GMT
I have a problem using struts validation.
I'm trying to validate a required field and I get javascript error: 
formName_required is undefined.
I'm using struts version 1.2, and common-validation version 1.3.0.
The problem is in the javascript validateRequired:
        var oRequired = eval('new ' + jcv_retrieveFormName(form) + 
'_required()');
But the function name being generated is only required() and not 
formName_required().

Any ideas?


Edo Dovrat.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message