• Resolved miguel1876

    (@miguel1876)


    Hi There

    Love your Plugin. Very helpful.
    I am using it for a price quote and would like to have it show a decimal separator with a dollar symbol like so: $5,000

    https://i66.tinypic.com/hwbhjl.png

    Is this possible?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter miguel1876

    (@miguel1876)

    Hi There

    I actually found the exact range slider I wanted to implement.
    See it here: https://jqueryui.com/slider/#range

    I tried adjusting the code in slider-tag.php but I cannot make it work.

    Can you help with this?

    Plugin Author A.malakar

    (@ayushmalakar)

    Hi miguel1876

    Thank you for being patient for my reply ??

    Sorry for the late response, currently there is no way to add the dollar symbol except to hard-code it. As for the decimal, it was only designed to show up from 0-999 . I will make sure to add a placeholder for the symbol as well as the decimal seperator on the next update ??

    I do have a quick fix for you, but its only for the dollar sign

    Here is what i need you to do go to slider-tag.php and add

    replace
    tooltip.text(<?php echo $default_value ?>); with tooltip.text('$'+<?php echo $default_value ?>); online number 58

    Then again go to line number 67 and replace
    tooltip.text(ui.value); with tooltip.text('$'+ui.value);

    Do let me know if this works or not for you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding decimal separator’ is closed to new replies.