Support » Plugin: Gravity Slider Fields » Does What it Says on the Box

  • Works well with the latest version of Gravity Forms and WordPress, does exactly what it says on the box.

    My minor gripes/suggestions are:

    • I’d like to be able to use more advanced number formatting. For example, right now if you choose to format as currency, you have to show two decimal points. Since our slider is going from $2,000 – $20,000 in increments of $500, this is a bit unfortunate.
    • It’d be nice to apply some advanced formatting to the min/max values. I’d actually like our slider to display, “$20,000+” as the max value, but that doesn’t seem to be possible

    All in all, a great plugin that adds a feature that really, for $200/yr, Gravity Forms should figure out how to develop themselves. Thanks to the plugin developer for making it for free.

    EDIT: For anyone else looking to remove decimals in the currency formatting, here’s how I did it.

    First, two disclaimers:

    1. I have absolutely no idea what I’m doing with Javascript
    2. This will doubtless be reset the moment you update the plugin to a new version
    3. Change line 212 of the plugin’s gravity-slider-fields.php from:

      wp_enqueue_script( 'gslider-fields', GSF_DIR_URL . 'slider.js', array( 'jquery', 'noUiSlider' ), GSF_VERSION );


      wp_enqueue_script( 'gslider-fields', GSF_DIR_URL . 'slider.min.js', array( 'jquery', 'noUiSlider' ), GSF_VERSION );

      Then change line 90 of the plugin’s slider.js from:

      decimals: currency['decimals'],


      decimals: 0,

      Voila! You’ve got currency formatting without decimals. For now.

Viewing 1 replies (of 1 total)
  • Plugin Author uamv


    Thanks for the feedback and review. I’ll take note of these things, but not sure when I’ll have time for more development on this. I needed to get something together for a site I maintain and, having brought this to a usable spot, haven’t been able to dedicate more time. I have considered passing the plugin on to Gravity Perks or someone else who might be able to offer support and development more readily, but that would send it into the paid plugin realm. Yes, would be great to see Gravity Forms include this in a future version.

    Also, note: I think in step two above, you mean to replace slider.min.js with slider.js rather than the other way around.

Viewing 1 replies (of 1 total)
  • The topic ‘Does What it Says on the Box’ is closed to new replies.