jackofalltrades Posted June 17, 2008 Share Posted June 17, 2008 I am using a product called PHP Form Captcha to create and display my Captcha image. The tool gives me a choice to have the message display on a new page or in the same page if the captcha input fails. When I choose to have it display on a new page everything works fine and the customer can hit the back button and all fields are filled in and s/he can just re-enter the captcha. When I set it up so that the message for the captcha failure displays on the same page then it displays the error message but all the fields come back empty. Can anybody tell me how to have those fields remain filled in when the captcha fails? Thanks in advance. JackOfAllTrades Quote Link to comment https://forums.phpfreaks.com/topic/110633-keeping-fields-filled-in-when-captcha-fails/ Share on other sites More sharing options...
tippy_102 Posted June 17, 2008 Share Posted June 17, 2008 It's hard to say without seeing the code. Are they stored in the session? a cookie? the browsers cache? Quote Link to comment https://forums.phpfreaks.com/topic/110633-keeping-fields-filled-in-when-captcha-fails/#findComment-567662 Share on other sites More sharing options...
jackofalltrades Posted June 18, 2008 Author Share Posted June 18, 2008 The code for the form is attached. Thanks for your help. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/110633-keeping-fields-filled-in-when-captcha-fails/#findComment-568219 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.