Validate Text does not begin with number - InfoPath Dev
in

InfoPath Dev

Validate Text does not begin with number

Last post 02-21-2011 12:23 AM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-14-2011 05:37 AM

    Validate Text does not begin with number

    I have tried searching around and throughout this form but have found nothing. I am needing to run some rule (validation or action, not sure) that would check if a text box begins with a number that it is not valid then. Basically I have a text box that is allowed to be entered numbers and letters but I do not want it to start with a number. How can I do this. It could be really obvious and I am just not thinking correctly. Any help appreciated. Thank you.

  • 02-21-2011 12:23 AM In reply to

    Re: Validate Text does not begin with number

    Just use a formatting rule with a condition that matches a regular expression where that regular expression is one or more alphanumerics at the beginning followed by anything. The regular expression dialog shows you some samples and you can infer from them how to create the custom pattern or you could just read up on regular expressions via Wikipedia or whatever. Should be pretty simple.

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