validation
-
hi.. in my page n number of fields are there.user may enter some fields maynot enter some fields.so i am not using required field validator.I just want to check with valuetype.so i am using regular expression validator for name to allow lower & upper case letters and space,' etc.see code below.
i am entering only those letters only eventhough error message is coming.why??
-
hi.. in my page n number of fields are there.user may enter some fields maynot enter some fields.so i am not using required field validator.I just want to check with valuetype.so i am using regular expression validator for name to allow lower & upper case letters and space,' etc.see code below.
i am entering only those letters only eventhough error message is coming.why??
Your regular expression probably demands a value. You need to create a regular expression that will pass on an empty input as well as any valid filled in input.
User group: Scottish Developers Blog: Can Open... Worms? Everywhere! Quote: Man who stand on hill with mouth open wait long time for roast duck to drop in.
-
hi.. in my page n number of fields are there.user may enter some fields maynot enter some fields.so i am not using required field validator.I just want to check with valuetype.so i am using regular expression validator for name to allow lower & upper case letters and space,' etc.see code below.
i am entering only those letters only eventhough error message is coming.why??
There is a property on these validators, it's something like 'validateifempty'. I forget the name, but I think that's what you need. Oh, it looks to me like your regex is for only one character. I think you need a * after it.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
There is a property on these validators, it's something like 'validateifempty'. I forget the name, but I think that's what you need. Oh, it looks to me like your regex is for only one character. I think you need a * after it.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
hey thanx..its working after adding * to my expression..i did basic mistake..
-
There is a property on these validators, it's something like 'validateifempty'. I forget the name, but I think that's what you need. Oh, it looks to me like your regex is for only one character. I think you need a * after it.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Hey i got one more QQ.is there any property for validation like when the user enters into name textbox..when he type numbers it shouldn't print on the page..for numbers it shouldn't display anything..when the user type alphabits name textbox field should display the letters..what ever the expression we gave those letters should print... any property?? other way of validating??
-
Hey i got one more QQ.is there any property for validation like when the user enters into name textbox..when he type numbers it shouldn't print on the page..for numbers it shouldn't display anything..when the user type alphabits name textbox field should display the letters..what ever the expression we gave those letters should print... any property?? other way of validating??
hey i solved with ajax toolkit...:)