I have the following requiredIf that does not seem to actually work:
field property=phone1
depends=required,minlength,maxlength
arg0 key=form.phone1/
arg1 name=maxlength key=${var:maxlength}
resource=false/
var
Hi all,
I'd like to use requiredif to validate some fields as follows:
on my jsp I have a checkbox, eg supplier,
if this checkbox is checked, then I want another field, eg name to be required.
I've tried to set this up in my validation.xml file as follows:
field property=name
:36 PM
To: Struts Users Mailing List
Subject: Help with requiredif validation
Hi all,
I'd like to use requiredif to validate some fields as follows:
on my jsp I have a checkbox, eg supplier,
if this checkbox is checked, then I want another field, eg name to be
required.
I've
3 matches
Mail list logo