Download & Extend

Captcha for Custom Form

Project:CAPTCHA
Version:7.x-1.0-alpha3
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I am currently doing a complete overhaul of a website and they want to add captchas. The person who created the form to register for a free trial hard coded it because they require the information to be sent back to their servers. I was wondering how to add a captcha to the page. An image is attached. I can post the code for the form if necessary. Any help would be greatly appreciated.

AttachmentSizeStatusTest resultOperations
form.png29.2 KBIgnored: Check issue status.NoneNone

Comments

#1

The old site is in drupal 6. http://journyx.com/saasset.html I am converting to drupal 7.

#2

Priority:major» normal

There are multiple solutions, but the easiest is using the standard CAPTCHA admin page: add the form_id of your form to the list
or if you don't know the form_id: enable the option "Add CAPTCHA administration links to forms" and then go to the form.

#3

Also with help of hook_form_alter you can get that particular form_id and add it to list.
OR
With help of firebug you will get form-id.

#4

I downloaded and installed the module captcha-7.x-1.0-beta2..

Following the steps above (because my form is also hard coded in the node) I added a new form id to the list... in my case:
ID: uploadform (see screenshot)..

My apologies for being a complete noob at this but to my understanding a capture input should be visible on this form right? not getting any.

Dont know what I'm missing??

Any help would be greatly appreciated..

thanks

AttachmentSizeStatusTest resultOperations
screenshot.23.jpg272.46 KBIgnored: Check issue status.NoneNone

#5

@fhufkie:

"uploadform" does not seem like a valid Drupal form id. How did you determine that? Does it come from the upload module? In the latter case, I guess it should be "upload_form" (with underscore)

nobody click here