Skip to Content
author's profile photo Former Member
Former Member

Numeric field in webdynpro

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 ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 02, 2004 at 04:44 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.