, 2003 7:11 PM
Subject: RE: how to use requiredif
field property=phone depends=requiredif
arg0 key=venue.phone /
var
var-namefield[0]/var-name
var-valuevenueId/var-value
/var
var
var-namefield-test[0]/var-name
var-valueEQUAL/var-value
/var
var
var-namefield-value[0]/var-name
var
: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 9:28 PM
Subject: RE: how to use requiredif
It looks like you're just trying to make sue that the password field is
filled in right? If so, all you need to use
field property=phone depends=requiredif
arg0 key=venue.phone /
var
var-namefield[0]/var-name
var-valuevenueId/var-value
]
Subject: Re: how to use requiredif
thank you. i understand it. can you tell me where can i find all the validator
document? i have searched the struts 1.1 document, but find a little.
- Original Message -
From: Alex Shneyderman [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL
It looks like you're just trying to make sue that the password field is
filled in right? If so, all you need to use is the 'required' validation.
Just replace requiredif with required, and get rid of the var section. This
will make sure a password was entered.
Is this what you want to do?
-
5 matches
Mail list logo