Soleous75 Posted May 18, 2011 Share Posted May 18, 2011 hello not sure this is right place please forgive if is. what i am trying to do is that i have a contact form it is in a html page i have a captcha on it what i want to know is when the captcha vaalidation fails instead of an echo to a blank page how do i show that echo next to where the captcha is showing. i can do this in php but was really trying to keep this a html page not php. any help would be apprieciated. Quote Link to comment Share on other sites More sharing options...
sunfighter Posted May 19, 2011 Share Posted May 19, 2011 Soleous75 HTML just displays a page. It ca n not change the page, for that you need to use php or javascript. Js may be a better choice here, but if you do not know js than php is the way to go. Quote Link to comment Share on other sites More sharing options...
arbitter Posted May 22, 2011 Share Posted May 22, 2011 I'm afraid you will have to use javascript, PHP can't do such things. I suggest that on the submit button you first run a javascript function that checks all your fields, including the captcha, and if necessary print an error. Quote Link to comment 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.