Skip to main content
Solved

Regex formatting Question

  • February 21, 2025
  • 2 replies
  • 30 views

Forum|alt.badge.img

I am looking to input a text field for customers. I want them to be able to put in numbers with decimals, between a certain target value and 100. In this case, lets say 3. The issue i am running into, is that docusign is recognizing only the 1st digit in the sequence, and so while answers like 35, 62 and 90 are accepted, answers like 12 and 29 are not. I would like docusign to recognize double digit numbers, while still adhering to the lower end threshold.
Here is the formula i currently have, any advice would be greatly appreciated. 
^(?:[3-9]?\d(\.\d{1,2})?|100(\.00)?)$
 

Best answer by JohnSantos

@Jack.s 

Try using this instead:

^(?:3(\.\d{1,2})?|[4-9]\d?(\.\d{1,2})?|100(\.00)?)$
 

View Original
Is this content helpful?

2 replies

JohnSantos
Valued Contributor
Forum|alt.badge.img+18
  • Valued Contributor
  • 973 replies
  • Answer
  • February 21, 2025

@Jack.s 

Try using this instead:

^(?:3(\.\d{1,2})?|[4-9]\d?(\.\d{1,2})?|100(\.00)?)$
 


Forum|alt.badge.img+8

Hello ​@Jack.s,

 

I hope you are doing well. I want to confirm if you were able to solve your issue by utilizing the suggested solution or if the information provided was useful. If so, please mark it as the "Best Answer " by clicking “Select as Best” to make it easier for other users to find. Otherwise, let me know and I will gladly help you address the situation as soon as possible.

 

Thank you!

 

Best regards,

Melanie | Docusign Community Moderator

"Select as Best" below if you find the answer a valid solution to your issue.


Reply