Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - re-enter code
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum Lockedre-enter code

 Post Reply Post Reply
Author
blahone View Drop Down
Newbie
Newbie


Joined: 12 February 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote blahone Quote  Post ReplyReply Direct Link To This Post Topic: re-enter code
    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!

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
blahone View Drop Down
Newbie
Newbie


Joined: 12 February 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote blahone Quote  Post ReplyReply Direct Link To This Post 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
Thanks!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.