cancel
Showing results for 
Search instead for 
Did you mean: 

how to set mask in web dynpro input fields

Former Member
0 Kudos

i am looking for how to set mask in web dynpro input fields.

Please suggest

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

well, thanks for your advice,

i want the input field mask as for telephone,

xx - xxx - xxxxxxxx

these '-' will automatically come as user keys in 2 digit and the user can key in only digits from keyboard,

that we do using js in web development pages.

How it can be incorporated here,

do we need custom js file and if how to attach that js file ?

Former Member
0 Kudos

Argha,

As Maksim suggested, read my weblog -- it is an exact answer for such "masking" (/people/valery.silaev/blog/2005/11/29/800format-your-way)

Next, you may not add custom js files to WebDynpro and change the way WD processes client input, so there is no way to force user to type only digits and to insert hyphens automatically.

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com

former_member182372
Active Contributor
0 Kudos

check Valery`s nice blog

/people/valery.silaev/blog/2005/11/29/800format-your-way

Former Member
0 Kudos

Before going the calculated attribute route one could also try to use a custom dictionary type with suitable format specification.

Armin

Former Member
0 Kudos

Hi,

Just put password property to true to mask input field

Regards

Rohit

Yashpal
Active Contributor
0 Kudos

Hi,

do u want to use inputfield for password than in property of inputfield set the property passwordfield to true....

Thanks,

Yashpal