Print Page | Close Window

When wrong code entered post lost

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz CAPTCHA
Forum Description: Support forum for the Web Wiz CAPTCHA security image.
URL: https://forums.webwiz.net/forum_posts.asp?TID=30153
Printed Date: 28 March 2026 at 10:32pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: When wrong code entered post lost
Posted By: cdtoad
Subject: When wrong code entered post lost
Date Posted: 08 February 2012 at 5:18pm
Hi:

I've been getting complaints from users on my site that when they enter in a code incorrectly that anything they've typed into a textarea box gets lost.  Is there something that I'm missing on the .asp page that would keep the message body when the click the back button?

Thanks




Replies:
Posted By: cdtoad
Date Posted: 08 February 2012 at 5:20pm
OH... and to top that off.. I've tested it out with Firefox, IE & Chrome and it's happening on Firefox & IE but not Chrome.. :|


Posted By: WebWiz-Bruce
Date Posted: 09 February 2012 at 7:54am
On page that where it displays the CAPTCHA code was entered incorrectly add the following as the back link:-

<a href="javascript:history.back()">Go Back</a>

This will be the same as hitting the back button in browsers and in many would mean the content is retained.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net