on 01-07-2008 3:37 PM
I am creating an input field dynamically (via CL_WD_INPUT_FIELD).
I am binding the value (via BIND_VALUE) to an attribute with type CHAR30.
I want to give the possibility to enter a number with 4 digits (0 - 9999).
Is it possible to restrict the number of characters that can be entered to 4 (although the BIND_VALUE attribute has a type CHAR30, that allows 30)?
I have tried it via set_length, bind_length but it seems that the length of the BIND_VALUE attribute overrules the length information...
Hi Moritz,
AFAIk you have no other option as using a NUM4 here.
Set Length just sets the lengths of the inputfield according to the current character set ... count of charcters but does not limit the value you may enter
Cheers
Sascha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
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.