on 06-02-2004 11:20 AM
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 ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.