44 Posts
Tina
3 years ago
2
Topic

I have a ranking field where I want the form to validate that the field's value is a number. In number 3, in the validation drop down, there is "letter number" to check for a letter and number but not just for a number. Maybe "Function" or "Regex" would work? Are there any examples? Also, there is no content type that is a number -- only text.

Get a VIP membership
57 Posts
KKAAZZOO
3 years ago
1
Level 1

Hi, see this plugin

44 Posts
Tina
3 years ago
0
Level 2

Thank you so much. I must of missed that plugin and I see it is free, I will download it. In the meantime, in number 3, validation, I used RegExp "/^\d+$/"  which worked for checking if the value in the field is a number.

Get a VIP membership