Can someone give me some ideas on how to validate my custom field "Phone Number"? This is a text field, and it accepts integer values, but we are running into issues where some of our external help desk members are not capturing all 10 digits of the phone number. Previously I tried to make the field required but it ended up breaking the template of the issues we receive via email (only Description and Summary can be required). Any way I can validate the field upon issue create using regex? Any other suggestions?
Hi @JayJuan Jones,
A regex validator on the create transition of your workflow is basically the out-of-the-box way you could set this up.
This KB article has a good description of your use case. It even refers to a phone number custom field as an example on how to set it up.
Hope this helps!
hello, I tried to use the regular expression below and that didn't work for me :(
^[0-9]{n}$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.