M Mark B Jan 6, 2009 #1 What would be the syntax for the ValidationExpression if I wanted it: < > ' -- Select --'
L Larry Bud Jan 6, 2009 #2 What would be the syntax for the ValidationExpression if I wanted it: < > ' -- Select --' Click to expand... Why would you use a RegEx to check for a single string? RegEx is most useful for pattern matching. I take it you're doing client side validation? Just use the Compare Validator.
What would be the syntax for the ValidationExpression if I wanted it: < > ' -- Select --' Click to expand... Why would you use a RegEx to check for a single string? RegEx is most useful for pattern matching. I take it you're doing client side validation? Just use the Compare Validator.
M Mark B Jan 6, 2009 #3 Thanks. I previously thought Compare Validator could only compare fields but not a field and a text string. Now thanks to you I see it can compare a text value too. What would be the syntax for the ValidationExpression if I wanted it: < > ' -- Select --' Click to expand... Why would you use a RegEx to check for a single string? RegEx is most useful for pattern matching. I take it you're doing client side validation? Just use the Compare Validator.
Thanks. I previously thought Compare Validator could only compare fields but not a field and a text string. Now thanks to you I see it can compare a text value too. What would be the syntax for the ValidationExpression if I wanted it: < > ' -- Select --' Click to expand... Why would you use a RegEx to check for a single string? RegEx is most useful for pattern matching. I take it you're doing client side validation? Just use the Compare Validator.