Multiple condition if-statement not working (using OR)

Why aren’t you set the min and max characters directly to the input elements?
https://www.wix.com/velo/reference/$w/textinput/min
https://www.wix.com/velo/reference/$w/textinput/max

$w("#myTextInput").max = 13;
$w("#myTextInput").min = 1;