RegularExpressionValidator Question

  • Thread starter Thread starter Samuel Shulman
  • Start date Start date
S

Samuel Shulman

I want to use the control so users will have to input a string which is at
least 6 characters long

How can I achieve that?

Thank you,
Samuel
 
It might be easier to use;

if(strString.Length < 6)
{
validator.Text = "OK";
else
{
validator.Text = "Fail";
}

Otherwise you would have to use a custom validator and write some
client script to check the length.

Cheers

Jared
 
I want to use the control so users will have to input a string which is at
least 6 characters long

How can I achieve that?

Thank you,
Samuel

".{6,)" as evaluation expression
(any character, repeated 6 times or more)

Hans Kesting
 
Back
Top