<?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: passing form items from page 1 to 2</title>
		<link>https://legacy.forums.gravityhelp.com/topic/passing-form-items-from-page-1-to-2</link>
		<description>Gravity Support Forums Topic: passing form items from page 1 to 2</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:52:30 +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/passing-form-items-from-page-1-to-2" rel="self" type="application/rss+xml" />

		<item>
			<title>100IT on "passing form items from page 1 to 2"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-form-items-from-page-1-to-2#post-57973</link>
			<pubDate>Mon, 07 May 2012 11:03:53 +0000</pubDate>
			<dc:creator>100IT</dc:creator>
			<guid isPermaLink="false">57973@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;As I needed a read only field with the calculated value I've solved this issue using gform_field_input&#60;/p&#62;
&#60;p&#62; - Works fine but some feedback on the method would be appreciated! Also I get a  html break between the field label and the input box after returning the $input. Can't seem to find were this is generated. Anyway, gravity forms did the trick! Like it.&#60;/p&#62;
&#60;p&#62;functions.php in theme:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_field_input&#38;quot;, &#38;quot;field_updater&#38;quot;, 10, 5);

function field_updater($input, $field, $value, $lead_id, $form_id)
{
  // change text field to read only and set value only for field 14 and pagenumber 2.

	if ($field[&#38;#39;id&#38;#39;] == 14 &#38;amp;&#38;amp; $field[&#38;#39;pageNumber&#38;#39;] == 2 )
	{
	  $calculation =  do_shortcode(&#38;#39;[=calculate_me value1=&#38;quot;&#38;#39;.$_POST[&#38;#39;input_1&#38;#39;].&#38;#39;&#38;quot; value2=&#38;quot;&#38;#39;.$_POST[&#38;#39;input_2&#38;#39;].&#38;#39;&#38;quot; value3=&#38;quot;&#38;#39;.$_POST[&#38;#39;input_3&#38;#39;].&#38;#39;&#38;quot;]&#38;#39;);

 	  $input = &#38;#39;&#38;lt;input READONLY type=&#38;quot;text&#38;quot; tabindex=&#38;quot;12&#38;quot; class=&#38;quot;large&#38;quot; value=&#38;quot;&#38;#39;.$calculation.&#38;#39;&#38;quot; id=&#38;quot;input_2_14&#38;quot; name=&#38;quot;input_14&#38;quot;&#38;gt;&#38;#39;;

	  return $input;
	}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>100IT on "passing form items from page 1 to 2"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-form-items-from-page-1-to-2#post-57667</link>
			<pubDate>Thu, 03 May 2012 17:09:10 +0000</pubDate>
			<dc:creator>100IT</dc:creator>
			<guid isPermaLink="false">57667@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for your quick response Rob, I didn't. &#60;/p&#62;
&#60;p&#62;Passing a variable from a page 1 field to a shortcode in a page 2 field would solve my problem on the other hand. &#60;/p&#62;
&#60;p&#62;(I've got much more complicated formulas in an Excel style sheet plug-in which I made in the last couple of weeks, and want to use as a result in a page 2 field coming from page 1 field (as a variable))&#60;/p&#62;
&#60;p&#62;thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "passing form items from page 1 to 2"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-form-items-from-page-1-to-2#post-57657</link>
			<pubDate>Thu, 03 May 2012 16:42:09 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">57657@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Have you tried using our calculation types yet for this? You can use a number field that is set to calculation that can multiply the two values and give you the result that will show in that number field.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>100IT on "passing form items from page 1 to 2"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-form-items-from-page-1-to-2#post-57640</link>
			<pubDate>Thu, 03 May 2012 15:05:31 +0000</pubDate>
			<dc:creator>100IT</dc:creator>
			<guid isPermaLink="false">57640@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So, I've created a multipage form where:&#60;br /&#62;
I ask the user on page 1 to enter height, width.&#60;br /&#62;
I want to dynamically fill in a field on page 2 containing the area (ie height*width).&#60;br /&#62;
I've made my own wordpress add_shortcode function which returns using:&#60;/p&#62;
&#60;p&#62;[=area height=&#34;variable1&#34; width=&#34;variable2&#34;]&#60;/p&#62;
&#60;p&#62;which I want to use as a dynamic field on page 2&#60;/p&#62;
&#60;p&#62;How can I fill in variable1 and variable2 coming from page1?&#60;/p&#62;
&#60;p&#62;(set form to ajax)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
