Print Page | Close Window

re-enter code

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=26975
Printed Date: 28 March 2026 at 2:20pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: re-enter code
Posted By: blahone
Subject: re-enter code
Date Posted: 12 February 2009 at 7:24pm

I'm using CAPTCHA on a couple of my sites but have 2 issues/questions.

First, I entered a page to load if the code is not entered correctly. It's actually a copy of the contact form. The problem is that the information will have to be completely reentered. Is there a way to just have the user try again while keeping the contact informatin intact?
 
Secondly, the form_inc page is throwing out 3 xhtml validation errors. I fixed 2 of them but don't understand how to fix the third one. The line is:
 
document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
…width="100%" border="0" cellspacing="1" cellpadding="3">

Thanks for your help!




Replies:
Posted By: WebWiz-Bruce
Date Posted: 13 February 2009 at 8:42am
Having the form refill itself depends on how you setup CAPTCHA to work and your own code. How I would do it is have the form submit back to the same page, if the CAPTCHA fails the validation check display a message to the user and refill the form elements with the data that has been posted back to the server.

On your second question, on editing the CAPTCHA table it looks like you have removed the start tag < of the table.


-------------
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


Posted By: blahone
Date Posted: 13 February 2009 at 5:02pm
Bruce,
Thanks for the input. Can you help with your suggestion? how can I refill the form elements with the data?  
 
For the second part, I haven't removed the start tag. The exact line is:
<table width="100%" border="0" cellspacing="1" cellpadding="3">
Since I'm using the downloaded code, can you confirm this by testing your working CAPTCHA XHTML at
http://validator.w3.org/check?uri=referer" rel="no follow - http://validator.w3.org/check?uri=referer
Thanks!



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