cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting inputfield on web dynpro

Former Member
0 Kudos

Hi All,

I am customizing web dynpro screens wherein some of the input fields should not accept more than 5 characters. I tried setting the 'length' attribute to 5 in 'properties' tab, but still I am able to enter more than 5 characters. Any other option on how to do it.

Thanks,

Tom

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

TOM,

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.

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com