<?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: Dynamically add Image Upload QTY to Hidden Field?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-add-image-upload-qty-to-hidden-field</link>
		<description>Gravity Support Forums Topic: Dynamically add Image Upload QTY to Hidden Field?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:25:56 +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/dynamically-add-image-upload-qty-to-hidden-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Dynamically add Image Upload QTY to Hidden Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-add-image-upload-qty-to-hidden-field#post-37043</link>
			<pubDate>Tue, 04 Oct 2011 16:41:29 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">37043@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could only do this by adding a hidden field to your form and then using custom PHP and available hooks to populate that hidden field after the form is submitted.    &#60;/p&#62;
&#60;p&#62;You'd have to write custom code to do this, you'd have to check each upload field to make sure there was a value and then populate the value of the hidden field based on the upload fields that were used.&#60;/p&#62;
&#60;p&#62;You would use the gform_pre_submission hook to do this so it happens before the entry data is stored and notifications are sent.  This hook is documented here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Huw Rowlands on "Dynamically add Image Upload QTY to Hidden Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-add-image-upload-qty-to-hidden-field#post-36977</link>
			<pubDate>Tue, 04 Oct 2011 04:22:19 +0000</pubDate>
			<dc:creator>Huw Rowlands</dc:creator>
			<guid isPermaLink="false">36977@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl,&#60;/p&#62;
&#60;p&#62;I do need 100% accuracy as I need the form to tell another plugin the figure for deducting 'credits' from a user's account.&#60;/p&#62;
&#60;p&#62;Is there a way to get the figure (the value) to dynamically appear in a hidden field at the end of the form for the 'credit's plugin to get that figure?&#60;/p&#62;
&#60;p&#62;Huw
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Dynamically add Image Upload QTY to Hidden Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-add-image-upload-qty-to-hidden-field#post-36917</link>
			<pubDate>Mon, 03 Oct 2011 15:53:27 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">36917@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can't you go by what they select in the drop down? Or is the problem they might not actually upload that number of images and you want a 100% accurate number?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Huw Rowlands on "Dynamically add Image Upload QTY to Hidden Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-add-image-upload-qty-to-hidden-field#post-36871</link>
			<pubDate>Mon, 03 Oct 2011 05:59:49 +0000</pubDate>
			<dc:creator>Huw Rowlands</dc:creator>
			<guid isPermaLink="false">36871@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have a form that allows users to choose how many photos to upload.&#60;br /&#62;
First they have to choose from the drop-down 'How many photos?&#34;, which then displays the correct amount of Image Upload fields.&#60;br /&#62;
I have setup a hidden field which I want to store the result in.  How do I dynamically get the answer? How many photo's are my user's uploading?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
