on 10-13-2008 6:54 AM
Hi,
I have a requirement where in the user wants 2 text fields whose size should be of 300 characters.Please let me know how will i go about since the input characters in a text field is limited to 60 characters.
Regards
Pawan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you want to allow the user to enter maximum 300 characters then do like this,
create simpletype of string set the maximum length property 300.
so it will allow maximum 300 chars.
if your requirement is user has to enter 300 chars must then give
fixed length property 300.
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
to create simple type follow the below process,
<Project name> > Dictionaries > Local Dictionary > Data Types >
1.Open the context menu for the "Simple Types" node and choose "Create Simple Type".
2.Under Simple Type Name, enter <name>. Under Package, enter <give package name> . Choose Finish to confirm
3. The editor for the new simple type <name> opens automatically.
Choose the Definition tab page.
under the length contrainsts you can find the maximum length property edit this and save.
refer this link,
http://help.sap.com/saphelp_nw04s/helpdata/en/6e/d162405c910272e10000000a155106/frameset.htm
Regards,
ramesh
Just take simple type in Local DIctionary and mention length.Finally bind simple type to text field.
Regards
Ruturaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pawan,
You can take a simple types in the Local Dictionary, in this simple type you can specify the length in definition tab. And bind this simple type to the context of the text field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pawan,
Create Simple Type in Local Dictionary (see your WD project tree in IDE), type should use "string" as base type, set min/max length constraints here.
Then go to content attribute of corresponding view and change attribute type to newly created type.
Btw, "length" of InputField just set average width of control in characters
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.