<?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: Gravity Form Embed in Post or Page Template submit not working</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gravity-form-embed-in-post-or-page-template-submit-not-working</link>
		<description>Gravity Support Forums Topic: Gravity Form Embed in Post or Page Template submit not working</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 07:45:40 +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/gravity-form-embed-in-post-or-page-template-submit-not-working" rel="self" type="application/rss+xml" />

		<item>
			<title>3am on "Gravity Form Embed in Post or Page Template submit not working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-form-embed-in-post-or-page-template-submit-not-working#post-9858</link>
			<pubDate>Tue, 14 Sep 2010 16:38:23 +0000</pubDate>
			<dc:creator>3am</dc:creator>
			<guid isPermaLink="false">9858@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Solved ! The last upgarde fixed all the issues, &#60;/p&#62;
&#60;p&#62;1. I do not need to use filter in functions.php to set action to set action=&#34;&#34; as the form now submit correctly, thank you very much for this&#60;br /&#62;
2. form validation now works (AWESOME)&#60;br /&#62;
3. embedding a form in the page template works (&#38;lt;?php gravity_form(1,false,false,false,null,true); ?&#38;gt;)&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/gravity-forms-v1-4-released/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/gravity-forms-v1-4-released/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks again for an excellent contribution&#60;/p&#62;
&#60;p&#62;Riaan
&#60;/p&#62;</description>
		</item>
		<item>
			<title>3am on "Gravity Form Embed in Post or Page Template submit not working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-form-embed-in-post-or-page-template-submit-not-working#post-9843</link>
			<pubDate>Tue, 14 Sep 2010 11:28:47 +0000</pubDate>
			<dc:creator>3am</dc:creator>
			<guid isPermaLink="false">9843@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hallo Gravity support, I hope you can help me&#60;/p&#62;
&#60;p&#62;I have created a Wordpress Page Template, &#60;a href=&#34;http://www.3am.co.za/blog/wp-submit/&#34; rel=&#34;nofollow&#34;&#62;http://www.3am.co.za/blog/wp-submit/&#60;/a&#62;&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/**
 * @package WordPress
 * @subpackage Default_Theme
 */
?&#38;gt;
&#38;lt;?php
/*
Template Name: Submit
*/
?&#38;gt;

&#38;lt;div class=&#38;quot;ginput_container&#38;quot;&#38;gt;
&#38;lt;?php gravity_form(1); ?&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;All of this works, but when I now embed this form into Magento as I do with the Calendar and all other plugins on my website, the form does not submit. I troubleshooted it to the fact that action=&#34;&#34; is blank.&#60;/p&#62;
&#60;p&#62;I can fix this by adding a filter in my functions.php like this,&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//Gravit Forms .. replace Action=&#38;quot;&#38;quot; for Event submissions page
add_filter(&#38;quot;gform_form_tag&#38;quot;, &#38;quot;form_tag&#38;quot;, 1, 2);
function form_tag($form_tag, $form){
$form_tag = preg_replace(&#38;quot;&#124;action=&#38;#39;(.*?)&#38;#39;&#124;&#38;quot;, &#38;quot;action=&#38;#39;/blog/wp-submit/&#38;#39;&#38;quot;, $form_tag);
return $form_tag;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;a href=&#34;http://www.3am.co.za/parties/submit-your-party&#34; rel=&#34;nofollow&#34;&#62;http://www.3am.co.za/parties/submit-your-party&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However, by doing this the form does not check for required fields :/ and rather now takes me to the Page Template URL, &#60;a href=&#34;http://www.3am.co.za/blog/wp-submit/&#34; rel=&#34;nofollow&#34;&#62;http://www.3am.co.za/blog/wp-submit/&#60;/a&#62; which looks nasty :/&#60;/p&#62;
&#60;p&#62;I need to make a couple more forms, but I am now stuck, and I need your brilliant coding advice :)&#60;br /&#62;
Please help me, I need all the form data to be done on one page, for example, &#60;a href=&#34;http://www.3am.co.za/parties/submit-your-party&#34; rel=&#34;nofollow&#34;&#62;http://www.3am.co.za/parties/submit-your-party&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks in advance,&#60;br /&#62;
Riaan
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
