I'm having a problem with a variable of type integer
, because maxlength=""
works only with string
and needs to be barred, but it's type Number
. I think you need the javascript, if anyone knows the solution would appreciate it.
Note: is already validated in the backend.
Update : I'm already using max="999"
and min="0"
, but only one message appears. The user can continue typing.