Data validation fails for all textbox entries when using multiple patterns - InfoPath Dev
in

InfoPath Dev

Data validation fails for all textbox entries when using multiple patterns

Last post 07-09-2007 11:45 AM by Shiraz Cupala. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-09-2007 10:51 AM

    • ndiem
    • Not Ranked
    • Joined on 06-18-2007
    • Posts 1

    Data validation fails for all textbox entries when using multiple patterns

    I'm working in Infopath 2007 with compatibility for Infopath 2003. 

    I have a text field that needs to match one of 5 patterns:
    (B|P|Q|Z)\d{8}
    EN\d{7}
    6261B\d{4}
    P\d{6}
    MD\d{4}
    
    I have tried using the data validation as an expression and also as a series 
    of conditions and it always fail if there is more than one condition listed.  
    
    Any ideas why this is happening?  Does it require a coded validation?
  • 07-09-2007 11:45 AM In reply to

    Re: Data validation fails for all textbox entries when using multiple patterns

    What is your intervening operatior, AND or OR? You need to use OR.
    Shiraz Cupala / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.