<?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: Submitting a Form Entry via PHP / AJAX embed in other process</title>
		<link>https://legacy.forums.gravityhelp.com/topic/submitting-a-form-entry-via-php-ajax-embed-in-other-process</link>
		<description>Gravity Support Forums Topic: Submitting a Form Entry via PHP / AJAX embed in other process</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 10:47:43 +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/submitting-a-form-entry-via-php-ajax-embed-in-other-process" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Submitting a Form Entry via PHP / AJAX embed in other process"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitting-a-form-entry-via-php-ajax-embed-in-other-process#post-32230</link>
			<pubDate>Wed, 10 Aug 2011 15:00:52 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">32230@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Currently there isn't a function that can be used to submit entries for a form using a function call, currently the only way to create is an entry is by submitting a form or via custom code that you would have to write to insert the data in the correct format.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ChrisF on "Submitting a Form Entry via PHP / AJAX embed in other process"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitting-a-form-entry-via-php-ajax-embed-in-other-process#post-32191</link>
			<pubDate>Wed, 10 Aug 2011 10:58:47 +0000</pubDate>
			<dc:creator>ChrisF</dc:creator>
			<guid isPermaLink="false">32191@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey David,&#60;/p&#62;
&#60;p&#62;thanks for your reply.&#60;/p&#62;
&#60;p&#62;Meanwhile we decided to not use Gravityforms in this case because it's faster just to implement the poll in the registration process.&#60;/p&#62;
&#60;p&#62;Anyways a nice feature would be the possibility to inject form entries just via a function:&#60;/p&#62;
&#60;p&#62;gforms_submit_form( $form_id, $form_values);&#60;/p&#62;
&#60;p&#62;is this feature existing? if not i can write a feature request for it.&#60;/p&#62;
&#60;p&#62;Else I think the topic can be closed if possible.&#60;/p&#62;
&#60;p&#62;Regards, Oli
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Submitting a Form Entry via PHP / AJAX embed in other process"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitting-a-form-entry-via-php-ajax-embed-in-other-process#post-32136</link>
			<pubDate>Tue, 09 Aug 2011 15:36:47 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">32136@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;/p&#62;
&#60;p&#62;A few questions:&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;Is the entire registration form a Gravity Form or only the poll portion?&#60;/li&#62;
&#60;li&#62;Could you send me a direct link where I could preview the registration form?&#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;I'm still a little confused as to what the end goal is, but I perhaps seeing the form itself will help clear things up. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ChrisF on "Submitting a Form Entry via PHP / AJAX embed in other process"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/submitting-a-form-entry-via-php-ajax-embed-in-other-process#post-32107</link>
			<pubDate>Tue, 09 Aug 2011 12:47:28 +0000</pubDate>
			<dc:creator>ChrisF</dc:creator>
			<guid isPermaLink="false">32107@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;Following idea:&#60;/p&#62;
&#60;p&#62;I want to submit a form entry for a gform during a custom registration process of a theme (templatic StoreBox: &#60;a href=&#34;http://templatic.com/ecommerce-themes/storebox)&#34; rel=&#34;nofollow&#34;&#62;http://templatic.com/ecommerce-themes/storebox)&#60;/a&#62;. Background is a small poll which should be filled out during the registration process while sending the information to the database, but not directly to the user meta.&#60;/p&#62;
&#60;p&#62;I cannot use the user registration functions of gravity forms because the registration process of the theme has to be used.&#60;/p&#62;
&#60;p&#62;I am using the newest gravity forms version (1.5.2.8)&#60;/p&#62;
&#60;p&#62;I thought about two ways but couldn't succeed for now:&#60;/p&#62;
&#60;p&#62;1) embedding the form via gravity_form() with ajax support, disabling the submit button, firing the event when registration button clicked&#60;/p&#62;
&#60;p&#62;what i did:&#60;/p&#62;
&#60;p&#62;in the template file:&#60;br /&#62;
&#38;lt;?php gravity_form(1, false, false, false, '', true) ?&#38;gt;&#60;br /&#62;
in functions.php:&#60;br /&#62;
gravity_form_enqueue_scripts(1, true);&#60;/p&#62;
&#60;p&#62;But the ajax functionality seems to not work, any idea why? couldn't find a hint in the source code, because i used the same form via shortcode in a post and it worked with ajax. i looked through the html code of both pages and couldn't find missing js or anything...&#60;/p&#62;
&#60;p&#62;Anyways I also had another solution in mind:&#60;/p&#62;
&#60;p&#62;2) Building the Form fields of the poll in the registration form and submitting it, then in the postprocessing create a form object and submitting it invisible.&#60;/p&#62;
&#60;p&#62;Idea:&#60;/p&#62;
&#60;p&#62;$form = new Form (...form data from post values...)&#60;br /&#62;
$form-&#38;gt;submit();&#60;/p&#62;
&#60;p&#62;or&#60;/p&#62;
&#60;p&#62;gforms_submit_form(...form data from post values..);&#60;/p&#62;
&#60;p&#62;But i couldn't figure out how to make this work... is this possible? couldn' find a hint in the forum / docs.&#60;/p&#62;
&#60;p&#62;If not it would be a feature request to send Form submitions just via a function call without using an actual html form.&#60;/p&#62;
&#60;p&#62;thanks a lot for your help!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
