Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Disabling the thousand separator in numeric fields

    Posted 09/12/22 07:17 AM

    Hi,

    How can I disable , in entry template, the thousand separator in numeric fields?

    I can't found the answer anywhere

    Thanks,

    Noam



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: Disabling the thousand separator in numeric fields

    Posted 09/13/22 12:22 PM

    Create a custom JavaScript class that inherits from ecm.model.ValueFormatter

    Override the ValueFormatter.formatValue method to customize the format for numerical values and return this.inherited(arguments) for anything else

    Assign the custom ValueFormatter to the Desktop model in the plug-in's main JavaScript file, i.e., ecm.model.desktop.valueFormatter = new CustomValueFormatter();



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration