SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms - InfoPath Dev
in

InfoPath Dev

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: Previous Next
  • 04-17-2013 10:17 PM

    • jaber
    • Not Ranked
    • Joined on 04-16-2013
    • Posts 5

    SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms

    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

    Re: SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms

    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 Halstead
    Project Manager at Qdabra
  • 04-22-2013 12:13 AM In reply to

    • jaber
    • Not Ranked
    • Joined on 04-16-2013
    • Posts 5

    Re: SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms

    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
    • Not Ranked
    • Joined on 04-16-2013
    • Posts 5

    Re: SharePoint (2007) does not recognize "|" as OR on an web enabled Infopath (2007) forms

    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.