Skip to main content
1-Visitor
December 13, 2017
Question

How to use Validator widget to validate a TextBox widget for accepting numbers only

  • December 13, 2017
  • 3 replies
  • 2962 views

Carles Coll

Hi,

I have an requirement where is a TextBox named as Mobile number. I want this TextBox accept numbers only. I thing we can use Validator widget to perform this task but I don't know steps to do the same like how to bind Validator widget to TextBox widget and validating entered values.

Anyone can help me? It would be a great support for me.

Thank you in advance

From,

Rohit Kumar Jaiswal

3 replies

1-Visitor
December 13, 2017

You should use Maked Textbox widget instead.

1-Visitor
December 13, 2017

Because I don't want to enter/save decimal values in database

1-Visitor
December 13, 2017

I've reviewed my answer