<?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: Display errors at top of page?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/display-errors-at-top-of-page</link>
		<description>Gravity Support Forums Topic: Display errors at top of page?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 03:17:26 +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/display-errors-at-top-of-page" rel="self" type="application/rss+xml" />

		<item>
			<title>hasanilx on "Display errors at top of page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-errors-at-top-of-page#post-10946</link>
			<pubDate>Fri, 08 Oct 2010 17:41:09 +0000</pubDate>
			<dc:creator>hasanilx</dc:creator>
			<guid isPermaLink="false">10946@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thx - tried that too. No luck
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Display errors at top of page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-errors-at-top-of-page#post-10943</link>
			<pubDate>Fri, 08 Oct 2010 17:19:31 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">10943@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We added a filter to add an anchor to the form a couple of versions back now. You can find out how to add that at the link below.&#60;/p&#62;
&#60;p&#62;Basically, you add the filter, then the form returns to the anchor if the validation fails.. wherever the form is in the page.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forum.gravityhelp.com/topic/redirect-after-failed-form-redirect-to-page-w-anchor#post-9592&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/redirect-after-failed-form-redirect-to-page-w-anchor#post-9592&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hasanilx on "Display errors at top of page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-errors-at-top-of-page#post-10942</link>
			<pubDate>Fri, 08 Oct 2010 17:15:17 +0000</pubDate>
			<dc:creator>hasanilx</dc:creator>
			<guid isPermaLink="false">10942@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am not able to get this to work. I have a long form and when the user submits the validation errors are not seen. So the user keeps pushing submit thinking the form has issues. I need the form to scroll back to the top so they can see the errors on submit. &#60;/p&#62;
&#60;p&#62;Please advise as I tried both methods (pasting code into head) and the second solutions.&#60;/p&#62;
&#60;p&#62;Thx&#60;/p&#62;
&#60;p&#62;The url is on a test server please send me a email to get the login info to view the site.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gabkadt on "Display errors at top of page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-errors-at-top-of-page#post-5619</link>
			<pubDate>Thu, 20 May 2010 05:45:30 +0000</pubDate>
			<dc:creator>gabkadt</dc:creator>
			<guid isPermaLink="false">5619@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Cool. Good stopgap solution. Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Display errors at top of page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-errors-at-top-of-page#post-4135</link>
			<pubDate>Fri, 19 Mar 2010 00:14:34 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">4135@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We did have some more discussion on how to best handle this today.. it may be something that's added in a future release.&#60;/p&#62;
&#60;p&#62;Here's another simple option that somebody used just today.. it's helpful when using a form below a good amount of content - just add an anchor tag in the content editor, just above the form shortcode&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;a name=&#38;quot;contact&#38;quot;&#38;gt;&#38;lt;/a&#38;gt;
[gravityform id=1 name=MyForm]&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then you can use a little jQuery snippet to get the form to jump back to the anchor on submit.. it works for both the validation error and the default confirmation text.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
  jQuery(document).ready(function() {
     jQuery(&#38;quot;#gform_xx&#38;quot;).attr(&#38;quot;action&#38;quot;, &#38;quot;#contact&#38;quot;);
  });
 &#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;where &#34;gform_xx&#34; is your form id and &#34;#contact&#34; is your anchor name.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>markm on "Display errors at top of page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-errors-at-top-of-page#post-4134</link>
			<pubDate>Fri, 19 Mar 2010 00:01:47 +0000</pubDate>
			<dc:creator>markm</dc:creator>
			<guid isPermaLink="false">4134@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;For what it is worth...I would like to request that this feature is added. Love the plugin but really think this needs to be added.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>smartmarketing on "Display errors at top of page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-errors-at-top-of-page#post-2028</link>
			<pubDate>Mon, 07 Dec 2009 11:24:40 +0000</pubDate>
			<dc:creator>smartmarketing</dc:creator>
			<guid isPermaLink="false">2028@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Awesome, thank you very much. That helps a lot!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Display errors at top of page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-errors-at-top-of-page#post-1982</link>
			<pubDate>Fri, 04 Dec 2009 19:58:02 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">1982@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I did a little tinkering with some jQuery and came up with a solution that might work for you.. nothing overly fancy, but it works pretty well.&#60;/p&#62;
&#60;p&#62;This is actually a variation of the code referenced in the post above. It includes support for the absolutely positioned form confirmation text, as well as an absolutely positioned validation error message.&#60;/p&#62;
&#60;p&#62;You can put this snippet into a page template or inside the &#38;lt; head &#38;gt; of your header.php file - it's up to you.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;!-- call the jQuery library if not already loaded in theme --&#38;gt;

&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;

&#38;lt;!-- the function to show the error notice or the fading confirmation notice at top of page --&#38;gt;

&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
  $(document).ready(function(){
   setTimeout(function(){
  $(&#38;quot;#gforms_confirmation_message&#38;quot;).fadeOut(&#38;quot;slow&#38;quot;, function () {
  $(&#38;quot;#gforms_confirmation_message&#38;quot;).remove();
      });

}, 3000);

  $(&#38;quot;.validation_error&#38;quot;).before(&#38;quot;&#38;lt;div id=&#38;#39;gforms_error_alert&#38;#39;&#38;gt;there was a problem with your submission. &#38;lt;a href=&#38;#39;#myform&#38;#39;&#38;gt;Please fix the errors&#38;lt;/a&#38;gt; and resubmit the form.&#38;lt;/div&#38;gt;&#38;quot;);
  $(&#38;quot;.validation_error&#38;quot;).after(&#38;quot;&#38;lt;a name=&#38;#39;myform&#38;#39;&#38;gt;&#38;lt;/a&#38;gt;&#38;quot;);

 });
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;We're basically adding a new div for the error alert and an anchor just above the form to link the alert to.&#60;/p&#62;
&#60;p&#62;Here's a copy of the &#60;a href=&#34;http://dl.dropbox.com/u/688846/gravityhelp/inline_noticies.php.txt&#34; rel=&#34;nofollow&#34;&#62;page template&#60;/a&#62; I used for my quick test.&#60;/p&#62;
&#60;p&#62;Also, you can watch this &#60;a href=&#34;http://screenr.com/sSU&#34; rel=&#34;nofollow&#34;&#62;short video&#60;/a&#62; to see it in action.&#60;/p&#62;
&#60;p&#62;Of course, you can style everything to suit your theme, but that should get you pointed in the right direction for now.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>smartmarketing on "Display errors at top of page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-errors-at-top-of-page#post-1980</link>
			<pubDate>Fri, 04 Dec 2009 17:03:24 +0000</pubDate>
			<dc:creator>smartmarketing</dc:creator>
			<guid isPermaLink="false">1980@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Great, thank you both for the info
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Display errors at top of page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-errors-at-top-of-page#post-1979</link>
			<pubDate>Fri, 04 Dec 2009 16:52:38 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">1979@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We've discussed how to improve this behavior and will implement something in a future release to make this a little more user friendly.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
