Ok I guess this leads me to another question. If I were to do a manual check to see if the two fields were matching in my Page Class, how do you go about sending an error back to the page the same way the validator works if the two fields didn't match?
On 7/14/05, Ron Piterman <[EMAIL PROTECTED]> wrote: > I did not implement this yet, but its not attaching two fields to the > same validator. > It susually only the *second* one which will be *compared to* the first one. > > so this is theoretically not so difficult: > validators="identity=password" > > you can post the class if you implement it, many people will be glad to > have such a thing. I wonder it is not in 4. > > Cheers, > Ron > > > > ציטוט Jamie Orchard-Hays: > > I don't know how you'd attach two fields two one validator at the same > > time. I'm curious if someone has solved this using a validator. I've > > just done comparisons in the listener method. > > > > Jamie > > On Jul 13, 2005, at 4:53 PM, Chris Chiappone wrote: > > > >> Hi, > >> > >> I was wondering if there was a validator that compares two fields to > >> see if they match. Basically for an input password and verify > >> password in a form. I know I could do post processing but it would be > >> nice to have it validate the same way. > >> If so could someone give an example on how to set it up? > >> Thanks. > >> > >> -- > >> ~chris > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ~chris
