on 03-31-2016 1:17 PM
Hello Everyone,
I have created input field in flex box using xml view. my query is how we can get length of input field in controller. i tried using getMaxLength() method. but no use.
Regards,
manju
Hi Manjunatha,
If you mean length of data entered then you can try like this.
this.byId("__input0").getValue().length.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.