on 12-29-2004 1:52 PM
Hello,
how can I limit the number of characters in an input field or text edit? If my data base field for a specified input field allows e.g. 20 characters, the user should not be able to fill in more (than these 20 characters).
Regards Horst
Set the maximum length of simple data type to 20 should solve the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you look in to the Properties of the fields you will come across a attribute called length. Just provide the no. as much as you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Horst,
the responsibility of the lenght of a string or other limitations are on the type side.
-> It doesn't matter what control - you have to select the right data type.
Because there is no standard type which has the string length 20 you have to make your own.
This can be done using a simple type in the Project Dictionary.
Afer creation, assign this type as "value" property to your input field or text edit control.
Regards,
Florian
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.