Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / August 2004

Tip: Looking for answers? Try searching our database.

Regular Expression Rules in InfoPath

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Erl Egestad - 21 Aug 2004 00:21 GMT
Hello:

I run the following Regular Expression through Regular Expression Tester at
http://www.regexlib.com/RETester.aspx:

^([a-zA-Z0-9@.,\s])+$

Type in "InfoPath is a product". It will return a match.

Set this up to validate a textfield through data validation or a rule with
the "does not match pattern" condition and choosing Custom Pattern AND IT
DOES NOT WORK!

What is the issue?

Thanks!
Gary Hsu [MSFT] - 21 Aug 2004 19:03 GMT
Remove ^ and $.  XSD pattern matching does not support them.

See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/xsd
refxmlschemaregularexpressionsreferencechart.asp

for more information.

Gary

> Hello:
>
[quoted text clipped - 12 lines]
>
> Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.