0
Beantwoord

Limit max characters in an editbox

Naeem 5 jaar geleden in Tips and Tricks bijgewerkt door v belkin 5 jaar geleden 4

Is there a way to limit the maximum characters in an editbox?
I would like to make a field where you can use a maximum of 3 characters but the .maxLength command does not work.
The .length command does work but I am still able to enter more than 3 characters but then it just gives an error if i use more than 3.

GOED, IK BEN TEVREDEN
Satisfaction mark by Naeem 5 jaar geleden