Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m having the same problem.

    You can solve this by updating the options array in the initialize.countup.js file. Set a value for the separator key. See the below as an example.

    var options = {
    ??useEasing : setting.easing,
    ??useGrouping : setting.grouping,
    ??separator : ',',
    ??decimal : setting.decimal,
    ??prefix : setting.prefix,
    ??suffix : setting.suffix
    };

    This unfortunately doesn’t give you the flexibility to use multiple separators but it doesn’t throw undefined anymore. We used it on our website https://www.wplauncher.com/hosting. I also figured out how to have multiple instances on one page. Reach out if you want more info.

    How to use multiple instances in single page??

    Regards,
    Yash

    This is due to a typo in the code.

    Change line 7 of initialize.countup.js

    from
    separator : setting.separator,
    to
    separator : setting.seperator,

    @benshadle Hey I would love to know your solution for using multiple instances of countup on one page! (Seriously why doesn’t this just work??)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Undefined value for separator?’ is closed to new replies.