NUMBER VALIDATION ALLOWS E/e,+,-. AS INPUT

Hi DeftForm Support Team,

We are facing an issue with the Age field validation.

The field is configured with the Numeric (Must be a number) validation and all related settings are set to Number (screenshots attached),

field configured with the Numeric validation 
field configured with the Numeric validation 
Type:Number
Type:Number

But the field is still accepting invalid inputs(screenshots attached at end of list). Users are currently able to enter:

  • e (lowercase)
  • E (uppercase)
  • + (plus sign)
  • - (minus sign)
  • . (fullstop/decimal point)
  • -2 (negative number)
e
e
E
E
+
+
-
-
.
.
-2
-2

This behavior is incorrect. The Age field should accept only positive whole numbers, for example 0–120, and should not allow:

  • Alphabets (including E/e)
  • Symbols such as +, -, .
  • Decimal values
  • Negative numbers

While most alphabets are blocked, E/e and the above symbols are still allowed, which indicates an issue in the validation logic rather than in the field configuration.

We have already shared screenshots through the DeftForm support portal showing:

  • All field settings correctly set to Number
  • The field still allowing E/e, +, -, and . as input

Kindly review this with your development team and update the validation logic so that the Age field strictly accepts only valid numeric age values (positive integers within a defined range).

Looking forward to your support on this.

Thank you.

Comments

To leave a comment, please authenticate.

Andreas
Please have a look at this article: help.deftform.com/nice-to-know...
Voters
Status
Rejected
Board
Bug
Submitted
vv2imaging