Change decimal digits in pre-configured page.

Hi all,

       The default of field decimal in pre-configured page has 2 digits. How can I update it to 3 digits?

Thanks

Like 0

Like

3 comments

Hello Mai,

 

Hope you're doing well.

To perform your task you can follow the instruction which is provided in the next Community post:

 

https://community.creatio.com/questions/decimal-fields-79-decimal-posit…

 

Best regards,

Roman

Roman Rak,

I knew how to change number of decimal digits of schema, but I don't know how to change in pre-config page.

Thanks 

Hello Mai,

 

Thank you for your reply. 

 

The required kind of functionality is available starting from version 7.17 (for Section Wizard and pre-configured page):

 

Specifying the value precision when setting up numeric fields. You can select an integer or a fractional number with precision up to eight decimal digits.

Unfortunately, for older versions of the application, there is no functionality that allows you to set a decimal digit mask for pre-configured pages. Our R&D team had been informed about this functional request earlier and as for now, you can use it in the latest version of the Creatio application.

 

As a workaround, in the case when you're trying to use a basic column you need to perform the next steps:

1) Create a dummy object and add a decimal field in it, set the needed decimal digit mask. 

2) Add edit page to existing section and change field type there.

 

Also, you can try to add the following code to the needed field on the page to set the number of characters after the decimal point:

                     "controlConfig": {
                        decimalPrecision: 4
                    },

Here is an example of implementation:

 

We suggest to save the original schemas as a backup before applying any changes.

 

Best regards,

Roman

Show all comments