cancel
Showing results for 
Search instead for 
Did you mean: 

Numeric field in webdynpro

Former Member
0 Kudos

Hi,

One way to allow the users to enter only numeric data is through creating the context attribute of type

integer and binding Inputfield uielement datasource to that context attribute.

In the above case if user enters 4 digit number then automatically it will display "," (Ex 1,230)

How can we remove that "," while entering the numbers.Bcose if we want to enter data like phone numbers , we don't want to include "," in between the digits.

Is there any way to do this ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anilkumar,

yes, create a simple type based on integer in the local dictionary and specify a "java-style" text format pattern for the type at the Representation tab. For example "########0" should solve the problem.

Hope that helps.

Regards

Stefan