on 06-07-2005 6:59 PM
Is there any way to set up and input field in Web Dynpro to a specific format?
For example, if I have a phone number field, can it be set so that the user can enter 1234567890 and the field will display and store as (123) 456-7890?
When I go to the representation tab, what would I enter in the format box to make the phone number autoformat to 123-456-7890
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric
You can create a simple type variable in the local dictonary of the component.
After creating a simple type go to the representation tab and choose your format.
Create a context attribute and make type as the simple type variable you have created.
Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Formatting is provided by the data dictionary (DDIC) type of the context attribute. There you can define a format.
The InputField.value property may be bound to self-defined simple types defined in the DDIC.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.