RE: Conditional Validation

2003-09-23 Thread Fenderbosch, Eric
: 'Struts Users Mailing List' Subject: RE: Conditional Validation You can set this up as different forms that submit to the same action (different action definitions if you like). Now each of the forms will have their own validation in your validation.xml. It's early and I haven&

RE: Conditional Validation

2003-09-23 Thread Chen, Gin
You can set this up as different forms that submit to the same action (different action definitions if you like). Now each of the forms will have their own validation in your validation.xml. It's early and I haven't had my coffee so let me know if that makes sense. -Tim -Original Message-

Re: Conditional Validation

2003-09-23 Thread Jeff Kyser
Seems like using a one line JavaScript to set a hidden field based on the button that was clicked, and then using the requiredif validation rules in conjunction with a mask for each of your fields (using regular expression) should work., -jeff On Tuesday, September 23, 2003, at 08:28 AM, Fenderb

Re: conditional validation in validation.xml

2003-06-14 Thread Gregory F. March
On Jun 13, 2003, Jordan Reed <[EMAIL PROTECTED]> wrote: |So what the validator does is only validate the field if the page attribute |is >=. Right, and that's my problem. I want the validation when the page attribute == the value. My form is "generally" created in page order, but not always

RE: conditional validation in validation.xml

2003-06-13 Thread Bailey, Shane C.
ssage- From: Jordan Reed To: Struts Users Mailing List Sent: 6/13/2003 9:38 PM Subject: Re: conditional validation in validation.xml The Validator has some concept with the page attribute. If you look at the "Multi Page Form" section you get a hint at it: http://jakarta.apache.org/s

Re: conditional validation in validation.xml

2003-06-13 Thread Jordan Reed
The Validator has some concept with the page attribute. If you look at the "Multi Page Form" section you get a hint at it: http://jakarta.apache.org/struts/userGuide/dev_validator.html In your jsp you need an element called page. I usually just put a static hidden tag: Then in your validation