on 09-04-2013 10:27 AM
Hi
I created an editable input field, LENGTH 40 , VALUE to my context element TYPE STRING40.
But i have a problem,it's possible to write 44 caracters in, and i have a message 'Entry too long'.Because my context is on 40.
How is possible ? Do i have to manage on OnEnter ?
Thanks for your help
Serge
Hi,
As far I knew, it won't allow user to enter more that 40 characters if you bind to attribute of type CHAR40 or STRING40. No need to handle manually.
If the attribute is of type with more character say 60, then in onAction of input field read the data and get the length using strlen( ) and if it is more than 40 display warning message.
Hope this helps u.,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.