> -----Original Message-----
> From: Blake Day [mailto:[EMAIL PROTECTED]]
> Sent: 24 April 2002 16:14
> To: Turbine Users List
> Subject: Problem with Intake in Turbine 2.1
>
>    <rule mask="[A-Za-z]">Please enter a valid first name.</rule>

Your mask needs to be something like "^[A-Za-z]*$" to work. The mask in your
example is just looking for at least one occurance in the input string of an
alpha character. The ^ and $ force the match over the whole input string,
and the * picks up all the characters between the start and end. Notice that
if you want space to be allowed in the match, then also include the space
char in the mask pattern.

Richard.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to