<?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: bug report: Similar forms embedded on the same page prefilling each other on sub</title>
		<link>https://legacy.forums.gravityhelp.com/topic/bug-report-similar-forms-embedded-on-the-same-page-prefilling-each-other-on-sub</link>
		<description>Gravity Support Forums Topic: bug report: Similar forms embedded on the same page prefilling each other on sub</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 05:22:20 +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/bug-report-similar-forms-embedded-on-the-same-page-prefilling-each-other-on-sub" rel="self" type="application/rss+xml" />

		<item>
			<title>wearethenest on "bug report: Similar forms embedded on the same page prefilling each other on sub"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/bug-report-similar-forms-embedded-on-the-same-page-prefilling-each-other-on-sub#post-46261</link>
			<pubDate>Thu, 12 Jan 2012 20:53:36 +0000</pubDate>
			<dc:creator>wearethenest</dc:creator>
			<guid isPermaLink="false">46261@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I found this bug that I wish to report.&#60;/p&#62;
&#60;p&#62;The issue is that a form (&#34;Form A&#34;), under certain circumstances, can pre-fill the form fields in another form that is embedded in the same page (&#34;Form B&#34;), if the fields in question have the same ID. That is, &#34;Form B&#34; is being prefilled onload with submitted data from &#34;Form A&#34;.&#60;/p&#62;
&#60;p&#62;To reproduce:&#60;br /&#62;
i) Create a new form. Give this form at least an email and a password field. Turn &#34;Email confirmation&#34; on so that the secondary email field is displayed.&#60;br /&#62;
ii) Save this form&#60;br /&#62;
iii) Duplicate this form&#60;br /&#62;
iv) Embed these two forms in the one page, like so: &#60;a href=&#34;http://grab.by/byma&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/byma&#60;/a&#62;&#60;br /&#62;
v) Fill out and submit one of the forms&#60;br /&#62;
iv) The other form on the page will have some values prefilled erroneously: &#60;a href=&#34;http://grab.by/bymn&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/bymn&#60;/a&#62; (As you can see, Form 1 submitted correctly and showing a response message, and Form 2 has some values prefilled that shouldn't be)&#60;/p&#62;
&#60;p&#62;This issue is due to the fact that both the second email/second password fields are given the same input name, as they share the same internal ID.&#60;/p&#62;
&#60;p&#62;In the meantime, here are some solutions to this problem if you encounter it:&#60;br /&#62;
i) Recreate the misbehaving field  in one of the forms, and delete the old form field. This will ensure that the field names are rendered differently and do not interact across forms.&#60;br /&#62;
ii) Update your forms to use the &#34;Page&#34; or &#34;Redirect&#34; confirmation types, instead of the &#34;Text&#34; type
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
