Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | screenshot.23.jpg | 272.46 KB | p2p_admin |
form.png | 29.2 KB | phillyman1025 |
Comments
Comment #1
phillyman1025 CreditAttribution: phillyman1025 commentedThe old site is in drupal 6. http://journyx.com/saasset.html I am converting to drupal 7.
Comment #2
soxofaan CreditAttribution: soxofaan commentedThere 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.
Comment #3
tejaspmehta CreditAttribution: tejaspmehta commentedAlso 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.
Comment #4
p2p_admin CreditAttribution: p2p_admin commentedI 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
Comment #5
soxofaan CreditAttribution: soxofaan commented@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)
Comment #6
hass CreditAttribution: hass commented