Hi, I created a form with a textfield where I want people to write their age. But, I just want numbers. For instance : 27, not 27 years old. So I'd like to use regex to disallow alphabetic caracters and only allow numeric caracters.
But, what I need to write in the regex field? What I want or what I do not want?
Regex in contour
Hi, I created a form with a textfield where I want people to write their age. But, I just want numbers. For instance : 27, not 27 years old. So I'd like to use regex to disallow alphabetic caracters and only allow numeric caracters.
But, what I need to write in the regex field? What I want or what I do not want?
Thank you
You need to specify what you want
\d+ accept only 1 or more digits and nothing else
Thank you, it works like a charm!
is working on a reply...