Skip to main content
Solved

Validate numbers entered in Data Collection

  • March 6, 2025
  • 2 replies
  • 45 views

humilis

Hi,

Is there a way to validate the number the contact entered on the Data Collection block?

I want to allow a range of 1 - 10.

Best answer by Gustavo Boregio

@humilis yes!

Make sure you use ‘number’ and not ‘text’ on the data collection, and store it in a number user field.

After the data collection, add a condition to check that the number is ‘greater than or equal to 1’ and ‘lower than or equal to 10’.

And that’s all ;)

2 replies

Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • Answer
  • March 6, 2025

@humilis yes!

Make sure you use ‘number’ and not ‘text’ on the data collection, and store it in a number user field.

After the data collection, add a condition to check that the number is ‘greater than or equal to 1’ and ‘lower than or equal to 10’.

And that’s all ;)


humilis
  • Author
  • Up-and-Comer
  • March 6, 2025

Thanks Gustavo, that was my plan B. I was hoping that I was missing something that would make it easier.

I have a test of 20 questions...