I need validation to fail on an apostrophe entered into a textbox for my regularexpression validator
<asp:RegularExpressionValidator id="valRegEx" runat="server"
ControlToValidate="textbox1"
ValidationExpression=" "
ErrorMessage="* Please only enter alphanumeric values and make sure
you are not entering in any apostrophes."
display="dynamic">*
I need
"Chris's mail"
to fail the above validation - which I believe means I need the
regular expression to return a no match on the above line.
Can you help?
Many thanks,
Chris
.
Relevant Pages
- Re: Entering Times In Excel
... The validation works ok then. ... enter the decimels when they are entering the time. ... "Bob Phillips" wrote: ... There are lots of problems with people entering the times wrong from ... (microsoft.public.excel.misc) - Re: Vistas EULA Product Activation Worries
... when it goes out for its periodic check of the validation. ... You're asking for cases of Vista's periodic activation check failing, ... which most likely uses a similar validation scheme, could fail for the ... same reasons. ... (comp.sys.mac.advocacy) - Re: Vistas EULA Product Activation Worries
... when it goes out for its periodic check of the validation. ... You're asking for cases of Vista's periodic activation check failing, ... which most likely uses a similar validation scheme, could fail for the ... same reasons. ... (comp.sys.mac.advocacy) - Re: Entering Times In Excel
... The validation works ok then. ... enter the decimels when they are entering the time. ... "Bob Phillips" wrote: ... There are lots of problems with people entering the times wrong from ... (microsoft.public.excel.misc) - Re: Need help using OBJECT tag
... Of course validation fails when you specify a document type ... I'm actually using XHTML 1.1 strict, but I'm not writing pure xhtml, ... but there are many minor things that just don't matter which fail). ... (comp.infosystems.www.authoring.html) |
|