none
Validation using Multiple Custom patterns in infopath 2010 RRS feed

  • Question

  • Hi Guys,

    I have a field which users can enter one of 2 different patterns

    DR123456 and ER12345

    I have tried to use the validation rules "does not match pattern" with or

    However when using the field it always comes up error no matter which of the 2 patterns I use.

    If I use just one pattern then it works fine.

    Any help?

    Thursday, October 10, 2019 7:57 AM

All replies

  • Hi zaakir99,

    I create  a singe line of text column named ER/DR and i can use the validation rules "does not match pattern" with or:

    What is the column type of your ER/DR column? 

    Try to do a test in another list and compare the results. 

    Best Regards,

    Lisa Chen 


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Friday, October 11, 2019 2:36 AM
    Moderator