SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms - InfoPath Dev Sign in | Join | Help in SharePoint Integration InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » SharePoint Integration » SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms Last post 04-23-2013 09:29 PM by jaber. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 04-17-2013 10:17 PM jaber Joined on 04-16-2013 Posts 5 SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms Reply Contact Hello There I am using this expression to validate a textbox where the input is not in UTF-8 encoding. This is expression :- "[^\u0000-\u007F]|[^\u0000-\u007F]*|.*[^\u0000-\u007F].*" It provides the expected results in stand alone Infopath form but when I published this to the SharePoint site then it was throwing on any input. So I worked out that it does not like the "|" which is an OR symbol in Infopath. Is there anyway to overcome this issue? Any help will be great. Thanks in advance. Jaber 04-21-2013 10:02 AM In reply to Patrick Halstead Joined on 08-07-2006 Posts 5,112 Re: SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms Mark as Not AnswerMark as Answer... Reply Contact You should be able to encode a pipe symbol. We have done that before. Maybe your form isn't encoding it correctly. Can you send more details? Patrick HalsteadProject Manager at Qdabra 04-22-2013 12:13 AM In reply to jaber Joined on 04-16-2013 Posts 5 Re: SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms Mark as Not AnswerMark as Answer... Reply Contact Hello Mark Thanks for your response. Please let me know what other information you need so that I can provide you with specific information. Just another query - Is there a way to use contains functions to use multiple value e.g. contains(., "♀"|"♪") Kind Regards Jaber 04-23-2013 09:29 PM In reply to jaber Joined on 04-16-2013 Posts 5 Re: SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms Mark as Not AnswerMark as Answer... Reply Contact Hello Patrick Thanks for your response. I optimized my the pattern to ".*[^\u0000-\u007F].*" & now it does not require OR or a | in the pattern I am using this pattern for a multi-line text box but this work only for first lines and not for the subsequest lines. Is there a way to fix that issue? Please let me know what other information you need so that I can provide you with that specific information. Kind Regards Jaber Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.