cancel
Showing results for 
Search instead for 
Did you mean: 

Ho to set the format of an InputField of type integer?

Former Member
0 Kudos

Hello,

I have an input field bound to context attribute of simple type integer. I want to have the number entered into this input field in this format “57000”. Currently when I enter a number then navigate to another view and then return to this view where the input field is the number entered into the field become formatted like this “57,000” which is not what I want. Do you know how to explicitly set the format to such input field?

Thanks

Best Regards,

Jeny

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Set the format you required as ##### in Representation Tab of Simpletype of type integer you have created previously

Have a look at this thread,

Regards

Saravanan K

Former Member
0 Kudos

Create a simple type in local dictionary of built in type integer. In the representation tab you can give ####### in the format. Now create a context attribute and in it's type property give the simple type you have created by selecting the appropriate package. and map this attribute with the input field.

Answers (0)