Custom Pattern Help - InfoPath Dev
in

InfoPath Dev

Custom Pattern Help

Last post 01-31-2011 01:21 PM by Greg Collins. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-28-2011 11:28 AM

    Custom Pattern Help

    Hi, I have a field that I need to make sure is alpha characters only. I was wondering what I have to do to validate that the field only contains letters and spaces? I can easily make it so that it looks for letters only, but whenever a space is entered, it records it as an error.
  • 01-31-2011 01:21 PM In reply to

     You need to add a validation rule to the field that says "fieldX" "does not match pattern" "Custom Pattern"... that pattern should be:

     (\p{L}|\s)*

    This pattern specifies zero-or-more letter or space character.

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.