number of input character

I set a input field in a form.


              {
                     type: "input",
                     label: "Field Name :",
                     name : "FIELD_NAME",
                     labelWidth: 150,
                     inputWidth: 250
                 },

Although, I set the < inputWidth: 250 >, the field length is only 10 characters.

Now I want to set the input character only 10 characters but I also get the 250 wigth ?

How about this method ?

Do you want to change input size dynamically or to limit quantity of symbols?

Darya,

I want to limit quantity of symbols.

I mean I set the data field is 10 chars. But I set the inputWidth is 250.

And I only want to set 10 chars but have enough and longer input width.

You need an attribute maxLength:10

Darya,

I can get the result.

Thanks !

You are welcome!