close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Hopefully quick CAPTCHA question (form submit)

Thread began 6/14/2012 12:15 pm by iainmacdonald331081 | Last modified 6/14/2012 1:57 pm by Jason Byrnes | 1401 views | 3 replies |

iainmacdonald331081

Hopefully quick CAPTCHA question (form submit)

I've got a page with an old form that I'm trying to add a CAPTCHA to.

The original form was set to send to Salesforce (not sure if you know it?) using:

form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8"

So I've added all the CAPTCHA stuff to the form, but I'm not sure how to get the form to check the CAPTCHA before the page submits?

The page is here:

indextest3.php

And I've attached the file showing how it currently looks.

I tried to spoof it using an insert into DB form, but it didn't seem to work, plus I expect there's a simpler method anyway.

Thanks again.

Attached Files
indextest3.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

all form processing must occur on the forms action page

You wont be able to use captcha on this form since it posts to another page that you don't have access to.

Sign in to reply to this post

iainmacdonald331081

Thanks Jason. I has just been trying to think of a way for the form to submit to that same page, check the CAPTCHA, and then redirect if the CAPTCHA passed. But ran in to the problem of being able to do that without the page redirecting when it initially loads.

Sign in to reply to this post

Jason ByrnesWebAssist

you would need to add an if statement to check for the form being submitted before redirecting.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...