<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Calculation not working with jQuery UI Slider</title>
		<link>https://legacy.forums.gravityhelp.com/topic/calculation-not-working-with-jquery-ui-slider</link>
		<description>Gravity Support Forums Topic: Calculation not working with jQuery UI Slider</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:47:58 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/calculation-not-working-with-jquery-ui-slider" rel="self" type="application/rss+xml" />

		<item>
			<title>studio2 on "Calculation not working with jQuery UI Slider"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculation-not-working-with-jquery-ui-slider#post-234133</link>
			<pubDate>Thu, 02 May 2013 19:02:32 +0000</pubDate>
			<dc:creator>studio2</dc:creator>
			<guid isPermaLink="false">234133@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I built a working slider. Add the class &#34;slider&#34; to your number field. Put the following code in document ready. This is sort of hacky and may have bugs in scenarios I wasn't trying to support, but it mostly works. &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;quot;.slider .ginput_container :input&#38;quot;).hide();
			  $(&#38;quot;.slider .ginput_container .instruction&#38;quot;).hide();

			  $(&#38;quot;&#38;lt;div class=&#38;#39;slider-value&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;&#38;quot;).insertBefore(&#38;quot;.slider .ginput_container :input&#38;quot;);
			  $(&#38;quot;&#38;lt;div class=&#38;#39;slider-display&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;&#38;quot;).insertAfter(&#38;quot;.slider .ginput_container :input&#38;quot;);

			  $(&#38;quot;.slider-display&#38;quot;).slider({
				  range: &#38;quot;min&#38;quot;,
				  value: 1,
				  min: 1,
				  max: 1000,
				  create: function( event, ui ) {
				    var value = $(this).prev(&#38;#39;:input&#38;#39;).val();
					$(this).siblings(&#38;#39;.slider-value&#38;#39;).html( value );

					var min = parseInt($(this).next(&#38;#39;.instruction&#38;#39;).find(&#38;#39;strong&#38;#39;).eq(0).html());
					var max = parseInt($(this).next(&#38;#39;.instruction&#38;#39;).find(&#38;#39;strong&#38;#39;).eq(1).html());

					$(this).slider(&#38;quot;option&#38;quot;, &#38;quot;min&#38;quot;,  min );
					$(this).slider(&#38;quot;option&#38;quot;, &#38;quot;max&#38;quot;,  max);
					$(this).slider(&#38;quot;option&#38;quot;, &#38;quot;value&#38;quot;,  value);

				  },
				  slide: function( event, ui ) {
					var value = $(this).slider( &#38;quot;value&#38;quot; );
					$(this).prev(&#38;#39;:input&#38;#39;).val(value);
					$(this).prev(&#38;#39;:input&#38;#39;).trigger(&#38;quot;change&#38;quot;);
					$(this).siblings(&#38;#39;.slider-value&#38;#39;).html( value);
				  }
			  });&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It grabs the supported range from the instruction field. It's definitely not ideal but I didn't see any other place where that info is available in the DOM.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>eCurtis on "Calculation not working with jQuery UI Slider"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculation-not-working-with-jquery-ui-slider#post-233890</link>
			<pubDate>Thu, 02 May 2013 14:32:01 +0000</pubDate>
			<dc:creator>eCurtis</dc:creator>
			<guid isPermaLink="false">233890@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Intervaro,&#60;/p&#62;
&#60;p&#62;I have been tasked with a similar project and I see you have a version working, perhaps not with number fields, on the bottom of your page. Any advice/instructions on how to get this working?&#60;/p&#62;
&#60;p&#62;Cheers.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Calculation not working with jQuery UI Slider"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculation-not-working-with-jquery-ui-slider#post-83526</link>
			<pubDate>Thu, 25 Oct 2012 00:40:04 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">83526@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There are no sliders I've seen which work with Gravity Forms without some configuration.  It looks like your implementation is close.   Seems like the fields are just not getting updated at the right time to enable calculations.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>intervaro on "Calculation not working with jQuery UI Slider"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculation-not-working-with-jquery-ui-slider#post-83398</link>
			<pubDate>Wed, 24 Oct 2012 16:30:08 +0000</pubDate>
			<dc:creator>intervaro</dc:creator>
			<guid isPermaLink="false">83398@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok,&#60;/p&#62;
&#60;p&#62;Thanks for your reply. Do you support some other Javascript-number sliders? Would love to do this through Gravity Forms.&#60;/p&#62;
&#60;p&#62;Thank you!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Calculation not working with jQuery UI Slider"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculation-not-working-with-jquery-ui-slider#post-83236</link>
			<pubDate>Wed, 24 Oct 2012 08:49:33 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">83236@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Integrating this jQuery slider is outside of the support we can provide for Gravity Forms.  It looks like a really nice implementation and I hope you can make it work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>intervaro on "Calculation not working with jQuery UI Slider"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculation-not-working-with-jquery-ui-slider#post-81998</link>
			<pubDate>Thu, 18 Oct 2012 08:40:18 +0000</pubDate>
			<dc:creator>intervaro</dc:creator>
			<guid isPermaLink="false">81998@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm trying to create a form where my customers can fill out information to see how much time they can save when using my services.&#60;/p&#62;
&#60;p&#62;So I'm using a Number Field with Calculation. And it works as expected when I'm typing the values in the other Number Fields or Checkbox Fields.&#60;/p&#62;
&#60;p&#62;But when I'm using the jQuery Slider to control the Number Values the Calculation is not triggered. It is triggered again when I'm filling out another field with my keyboard though.&#60;/p&#62;
&#60;p&#62;Can i do something i my js to trigger the Calculation?&#60;/p&#62;
&#60;p&#62;You can see the form here: &#60;a href=&#34;http://mtaccounting.se/spara-tid/&#34; rel=&#34;nofollow&#34;&#62;http://mtaccounting.se/spara-tid/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thank You!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
