Forum Discussion
Deleted
Jul 07, 2020Canvas App Form - Regular Expression for Custom Requirements
I am building a canvas app and one screen has a form to submit a request, which saves data to a SP list. I have a form field that requires additional validation beyond being a required fields.
Starts with "OPX" + "-" + 10 numbers
This needs to throw an error if the first 3 characters are NOT "OPX". There must be a hyphen next, then 10 numbers. Any recommendations are greatly appreciated.
- DeletedJul 07, 2020
This happens occasionally after posting, that I immediately solve the issue. Here is the solution:
!IsMatch( DataCardValue3_1.Text, "OPX" & Hyphen & Digit & Digit & Digit & Digit & Digit & Digit & Digit & Digit & Digit & Digit )
1 Reply
Sort By
- Deleted
This happens occasionally after posting, that I immediately solve the issue. Here is the solution:
!IsMatch( DataCardValue3_1.Text, "OPX" & Hyphen & Digit & Digit & Digit & Digit & Digit & Digit & Digit & Digit & Digit & Digit )