In HTML forms, you can set a MaxLength field to a form input, (which you can also do in Android Studio) but I can't see a way to do it in B4A. Annoyingly, in my app, some fields can only take 64 chars, some 128 and one up to 2000. I know I can check AFTER the event, but I wont to stop them on the form itself.
Plus, I know it can be done with Javascript.
Would I have to call a sub each time the EditText changes, and do something like a
If len.xyz <64 then
....
else
MsgBox ("limitReached")
type scenario?
Just thought I'd check to see if there is an easier way before I code it.