I just thought though you might be wanting to manually remove characters on your own for whatever reason, in which case you will need to do something before the validator handles it. I don't have an answer for that. Sorry.
Gregg On 5/10/05, Gregg D Bolinger <[EMAIL PROTECTED]> wrote: > > Looks like you need to use a PatternValidator: > > > http://jakarta.apache.org/tapestry/doc/api/org/apache/tapestry/valid/PatternValidator.html > > Gregg > > On 5/10/05, Gregg D Bolinger <[EMAIL PROTECTED]> wrote: > > > > Seems like instead of manipulating the field before it is validated you > > should be validating against a regular expression. Less work for you. I > > can't remember off the top of my head though if there is a regex validator. > > I'll take a look. > > > > Gregg > > > > On 5/10/05, Nathan Lai < [EMAIL PROTECTED]> wrote: > > > > > > In Tapestry, how can I pre-process the value of a valid field before > > > it > > > is validated? For instance, I want to filter out all non-alplanumeric > > > symbols in a string that is supposed to contain only alphanumeric > > > characters. > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > >
