<?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: Accessing Form Elements Programmatically</title>
		<link>https://legacy.forums.gravityhelp.com/topic/accessing-form-elements-programmatically</link>
		<description>Gravity Support Forums Topic: Accessing Form Elements Programmatically</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:45:19 +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/accessing-form-elements-programmatically" rel="self" type="application/rss+xml" />

		<item>
			<title>etrakdev on "Accessing Form Elements Programmatically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/accessing-form-elements-programmatically#post-57566</link>
			<pubDate>Thu, 03 May 2012 09:05:14 +0000</pubDate>
			<dc:creator>etrakdev</dc:creator>
			<guid isPermaLink="false">57566@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just a quick follow-up for others running into this issue:&#60;/p&#62;
&#60;p&#62;A quick search shows that the proper syntax should be:&#60;/p&#62;
&#60;p&#62;var qtyProduct = jQuery('input[name=&#34;input_5_3&#34;]').val();&#60;/p&#62;
&#60;p&#62;Note the single and double quotation marks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>etrakdev on "Accessing Form Elements Programmatically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/accessing-form-elements-programmatically#post-57564</link>
			<pubDate>Thu, 03 May 2012 08:51:39 +0000</pubDate>
			<dc:creator>etrakdev</dc:creator>
			<guid isPermaLink="false">57564@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yeah, I had tried that, too, but there must be a syntax error with the element name reference &#34;Syntax error, unrecognized expression: [name=input_5.3]&#34;.&#60;/p&#62;
&#60;p&#62;I'll keep digging. Thanks for your input, Kyle.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kyle on "Accessing Form Elements Programmatically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/accessing-form-elements-programmatically#post-57550</link>
			<pubDate>Thu, 03 May 2012 07:03:49 +0000</pubDate>
			<dc:creator>kyle</dc:creator>
			<guid isPermaLink="false">57550@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Use jQuery instead of $&#60;/p&#62;
&#60;p&#62;That is the standard way of using jQuery in WordPress.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;var qtyProduct = jQuery(&#38;quot;input[name=input_5_3]&#38;quot;).val();&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>etrakdev on "Accessing Form Elements Programmatically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/accessing-form-elements-programmatically#post-57531</link>
			<pubDate>Wed, 02 May 2012 22:07:26 +0000</pubDate>
			<dc:creator>etrakdev</dc:creator>
			<guid isPermaLink="false">57531@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need to access and update fields, such as quantity from a product field, from the Javascript function  gform_product_total. I've tried doing it with something like:&#60;/p&#62;
&#60;p&#62;var qtyProduct = $(&#34;input[name=input_5.3]&#34;).val();&#60;/p&#62;
&#60;p&#62;However, this throws an error &#34;$ is not a function&#34;.&#60;/p&#62;
&#60;p&#62;What is the right way of referencing form element values from within that function?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
