<?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: retrieve form fields to populate via a jquery preview</title>
		<link>https://legacy.forums.gravityhelp.com/topic/retrieve-form-fields-to-populate-via-a-jquery-preview</link>
		<description>Gravity Support Forums Topic: retrieve form fields to populate via a jquery preview</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 07:13:04 +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/retrieve-form-fields-to-populate-via-a-jquery-preview" rel="self" type="application/rss+xml" />

		<item>
			<title>adomedia on "retrieve form fields to populate via a jquery preview"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/retrieve-form-fields-to-populate-via-a-jquery-preview#post-37789</link>
			<pubDate>Thu, 13 Oct 2011 08:46:15 +0000</pubDate>
			<dc:creator>adomedia</dc:creator>
			<guid isPermaLink="false">37789@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;i looked through the code and found this&#60;/p&#62;
&#60;p&#62;RGFormsModel::get_form_meta(THE ID);&#60;/p&#62;
&#60;p&#62;sorted
&#60;/p&#62;</description>
		</item>
		<item>
			<title>adomedia on "retrieve form fields to populate via a jquery preview"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/retrieve-form-fields-to-populate-via-a-jquery-preview#post-37788</link>
			<pubDate>Thu, 13 Oct 2011 08:34:35 +0000</pubDate>
			<dc:creator>adomedia</dc:creator>
			<guid isPermaLink="false">37788@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;I was wondering if there is a simple method to retrieve the form fields from the $form array. More to the point make the fields of a specific form(by id) available to a function so I can loop through a foreach and populate the field with a presubmitted preview of the form content.&#60;/p&#62;
&#60;p&#62;basically&#60;/p&#62;
&#60;pre&#62;
function previewform() {
       //grab the form fields
	global $form;
        //parse field entries from serialized form entries
	parse_str($_SERVER['QUERY_STRING']);
	foreach($entries as $entry) {
       //loop through getting label for each entry from $form and showing entry next to it from the querystring'.

       }
	die();
}
&#60;/pre&#62;
&#60;p&#62;I know this is crude but I hope it helps get across what I'm trying to do.&#60;/p&#62;
&#60;p&#62;Thanks in advance for the help guys!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
