<?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: is it possible to insert a login form inside a custom post type form?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/is-it-possible-to-insert-a-login-form-inside-a-custom-post-type-form</link>
		<description>Gravity Support Forums Topic: is it possible to insert a login form inside a custom post type form?</description>
		<language>en-US</language>
		<pubDate>Mon, 06 Apr 2026 08:33:08 +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/is-it-possible-to-insert-a-login-form-inside-a-custom-post-type-form" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "is it possible to insert a login form inside a custom post type form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/is-it-possible-to-insert-a-login-form-inside-a-custom-post-type-form#post-28785</link>
			<pubDate>Wed, 29 Jun 2011 13:50:49 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">28785@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No, you can't embed a form inside another form. However, I think you can a lot of what you want to do using the gform_pre_render hook. Using this hook, you can use your custom logic to show and hide fields when needed. Following is the documentation page for this hook with an example.&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rovillesarate on "is it possible to insert a login form inside a custom post type form?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/is-it-possible-to-insert-a-login-form-inside-a-custom-post-type-form#post-28760</link>
			<pubDate>Wed, 29 Jun 2011 01:27:20 +0000</pubDate>
			<dc:creator>rovillesarate</dc:creator>
			<guid isPermaLink="false">28760@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi! Is it possible to insert a login form inside a form and set a conditional statement to show a registration form and a login form if user is not logged in? Let say I have a custom post type based form for submitting a directory or a job post. Inside the form are the required input field such as name, address, contact etc. then there will be a user validation if current user is logged in before submitting the posts.&#60;/p&#62;
&#60;p&#62;example:&#60;br /&#62;
/////////////////////////////////////////////////////////////////////////////////&#60;br /&#62;
if user is logged in then show submit button&#60;/p&#62;
&#60;p&#62;else if user is not logged in show&#60;br /&#62;
//////////////////////////////////////////////////////////////////////////////////////////////&#60;br /&#62;
LOG-IN                                                                          REGISTER&#60;br /&#62;
User Name:     ///////////////////////////  &#124;     User Name: /////////////////////&#60;br /&#62;
Password:       //////////////////////////    &#124;     Password:   /////////////////////&#60;br /&#62;
 Forgot your Password  [ Sign - in ]     &#124;     Email:         //////////////////////&#60;br /&#62;
                                                           &#124;      [ REGISTER ]&#60;br /&#62;
or Log-in with your Facebook             &#124;&#60;br /&#62;
 [ FB-Log-in]                                       &#124;&#60;br /&#62;
or Log-in with your Twitter                 &#124;&#60;br /&#62;
 [ TWITTER-Log-in]                             &#124;&#60;/p&#62;
&#60;p&#62;////////////////////////////////////////////////////////////////////////////////////////////////&#60;br /&#62;
else if user is not logged in and is a first time user then allow user to register then redirect back to the form to finish fill in form to submit content.&#60;/p&#62;
&#60;p&#62;First Name:      //////////////////////////////////////////&#60;br /&#62;
Last Name:      //////////////////////////////////////////&#60;br /&#62;
Post Title:        //////////////////////////////////////////&#60;br /&#62;
Post Body:      //////////////////////////////////////////&#60;br /&#62;
Custom Fields://///////////////////////////////////////&#60;/p&#62;
&#60;p&#62;If user is registered and logged in then show [ SUBMIT ] Button to submit post? so its like there is two or three forms here connected in one form?&#60;/p&#62;
&#60;p&#62;Is it possible to call a form using the html tags field component and call the log-in form and the registration form then just insert a condition statement to show the submit button if the user is logged in?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
