2

My custom field is a "number text" displayed in a tab with table. For example it's displayed 123456789.99 but I need thousand separators, I mean that I'd like to read 123,456,789.99 How can I add this feature ? I use CiviCRM 4.6.5 with the drupal version 7.38. Regards, Hashkey

3

Check the settings at Administer/Localization? There is a setting for thousands separator! enter image description here

  • Hello and Thank you ErikH. I did it but the separators doesn't appear for currency field in a "tab with table" display :( – HashKey Oct 12 '15 at 15:17
  • So I would like to add separators for number fields and not only for currency fields but I don't know how... – HashKey Oct 12 '15 at 15:17
  • Hello, no idea ??? – HashKey Nov 20 '15 at 11:25
  • I get the distinct impression that you feel it is my job to solve your problem? :-) – ErikH - CiviCooP Nov 20 '15 at 12:46
  • If you want to show the field on a specific tab, you could possibly use the summary hook (wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_summary) to have your own formatting? – ErikH - CiviCooP Nov 20 '15 at 12:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.