Hi @PamelaLlanes,
Try using the regex code regex(., '^[0-9]{10}$') with the question type as text. A similar example has already been discussed in the forum:
To learn more on regex please feel free to visit our support article Restricting text responses with regular expressions.
Have a great day!
