I have a Regex validation expression to validate phone numbers. 2 questions:
1. Can I add the substitution code to format the results? For example Phone number validation ^\\(?([0-9]{3})\\)?[-.●]?([0-9]{3})[-.●]?([0-9]{4})$
want to add replace ($1) $2-$3 to format the validated numbers.
2. Would the field be text or number?
Best answer by Community Expert
The field would be a text field and the text type under Validation would be Custom not Text or Number. Test your expression out within any Regex library.
But as far as I can test myself, DocuSign does NOT suppot change and replace within a Regex expression. Let me know if you're able to get it to work.
If you go to https://regexr.com/, you'll be able to determine what would be best to use. The answer to the 2nd question would be a text field with the validation is numbers.If you have further questions, please let us know. Thank you.
The field would be a text field and the text type under Validation would be Custom not Text or Number. Test your expression out within any Regex library.
But as far as I can test myself, DocuSign does NOT suppot change and replace within a Regex expression. Let me know if you're able to get it to work.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.