<?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: javascript value for input field ignored by pricing calculation</title>
		<link>https://legacy.forums.gravityhelp.com/topic/javascript-value-for-input-field-ignored-by-pricing-calculation</link>
		<description>Gravity Support Forums Topic: javascript value for input field ignored by pricing calculation</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 11:59:25 +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/javascript-value-for-input-field-ignored-by-pricing-calculation" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "javascript value for input field ignored by pricing calculation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/javascript-value-for-input-field-ignored-by-pricing-calculation#post-67513</link>
			<pubDate>Mon, 23 Jul 2012 08:15:38 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">67513@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Right on, glad you got it working.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pluto on "javascript value for input field ignored by pricing calculation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/javascript-value-for-input-field-ignored-by-pricing-calculation#post-67507</link>
			<pubDate>Mon, 23 Jul 2012 06:12:22 +0000</pubDate>
			<dc:creator>pluto</dc:creator>
			<guid isPermaLink="false">67507@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is now solved.&#60;/p&#62;
&#60;p&#62;This post helped answer my dilemma &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/conditional-logic-dynamically-populated-field&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/conditional-logic-dynamically-populated-field&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Add the change event to the end e.g.:&#60;/p&#62;
&#60;p&#62;jQuery(&#34;#input_1_19&#34;).val(kmdistance).change();&#60;/p&#62;
&#60;p&#62;regards Steven
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pluto on "javascript value for input field ignored by pricing calculation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/javascript-value-for-input-field-ignored-by-pricing-calculation#post-67489</link>
			<pubDate>Mon, 23 Jul 2012 02:41:35 +0000</pubDate>
			<dc:creator>pluto</dc:creator>
			<guid isPermaLink="false">67489@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris&#60;/p&#62;
&#60;p&#62;Sorry, I hadn't thought about including a link to the form because it is locally developed and not accessible to the net.&#60;/p&#62;
&#60;p&#62;I don't believe this is a bug as I am using my own embedded functions to display a google map and calculate the distance between two points.&#60;/p&#62;
&#60;p&#62;I understand gravity forms would 'watch' for changes made to input fields and update pricing accordingly, but only when the input field is updated manually.&#60;/p&#62;
&#60;p&#62;Since the value is being passed transparently, I believe I that I need to invoke a function to get gravity forms to refresh without leaving from the page.  &#60;/p&#62;
&#60;p&#62;I can call this function in my own JavaScript if there was one that you could recommend..  &#60;/p&#62;
&#60;p&#62;If you still wanted to see the form, I can upload this somewhere, however it's a highly sensitive project do I would need to private message you the address.  &#60;/p&#62;
&#60;p&#62;Many thanks for your help&#60;/p&#62;
&#60;p&#62;Regards Steven
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "javascript value for input field ignored by pricing calculation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/javascript-value-for-input-field-ignored-by-pricing-calculation#post-67461</link>
			<pubDate>Sun, 22 Jul 2012 20:55:49 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">67461@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post a link to your form please?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pluto on "javascript value for input field ignored by pricing calculation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/javascript-value-for-input-field-ignored-by-pricing-calculation#post-67421</link>
			<pubDate>Sun, 22 Jul 2012 06:52:50 +0000</pubDate>
			<dc:creator>pluto</dc:creator>
			<guid isPermaLink="false">67421@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Everyone&#60;/p&#62;
&#60;p&#62;I have some javascript on my gravity form which generates a value for 'kmdistance'&#60;br /&#62;
It inserts this value into a gravity form input field called input_1_19 using this code.&#60;/p&#62;
&#60;p&#62;document.getElementById('input_1_19').value = kmdistance;&#60;/p&#62;
&#60;p&#62;This works.  However, I now want to add pricing calculation to my form, and a product field type 'calculation' with a simple multiplication field does not work automatically - not unless I manually enter something into the distance field. &#60;/p&#62;
&#60;p&#62;{Distance:19} * 2&#60;/p&#62;
&#60;p&#62;It seems that once the value is inserted into the form field via javascript, I need to tell gravity forms to re-check the calculation.  Does anyone know how to do this ?&#60;/p&#62;
&#60;p&#62;Regards Steven
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
