I would like to be able to make the Honeypot form field (default:homepage) visible for local testing
Is there a simple way to do that?
I am a designer rather than a PHP coder so explicit instructions are needed:-)

Comments

geerlingguy’s picture

Status: Active » Fixed

If you're using Chrome, Safari, or FireFox, you can use Webkit Inspector (Chrome/Safari) or FireBug (downloadable extension for FF) to right click in the form area on another element (like the username form on the user registration form, for example). Then Inspect that element, and you can change the HTML or CSS right in the inspector area - uncheck the 'display: none;' rule for the honeypot text field to make it visible.

See something like: http://stackoverflow.com/questions/3355111/export-css-changes-from-inspe...

Ludwig’s picture

Thanks for the reply.
I have obviously done something wrong:-(
I am using the webform module and have configured it so that the forms are within the 'basic page' rather than being stand-alone forms.
I have set Honeypot to 'Protect all forms with Honeypot'. However, the honeypot field (homepage) is not being attached. I have searched with web inspector and the term 'homepage' doesn't return any results.

geerlingguy’s picture

Version: 7.x-1.7 » 7.x-1.x-dev
Status: Fixed » Active

I haven't tested Honeypot with Webform, so there may be something preventing the field from being added to webforms... I'll have to look into this.

ericthelast’s picture

Hey Jeff, I dug into this and realized two things:

  • This isn't an issue or a bug but if you are logged in and aren't seeing the honeypot field check to make sure you don't have the bypass honeypot protection permission (logout, switch users, or use a different browser to test).
  • Second, just as Ludwig, I've created a webform node and the id that gets generated for the form is "webform_client_form_[nid]". Looks like your module is looking for "webform_node_form" as the id.

FYI, I'm using Webform 6.x-3.14, Honeypot 6.x-1.7, and Drupal 6.23-dev. Hope that helps.

Ludwig’s picture

Status: Active » Closed (works as designed)

Thanks ericthelast you provided the clues!
I feel like a bit of a goose:-)
I switched to Chrome ( as a user) and used the Web Developer tools to expose the fields and the Honeypot field(s) showed.
Also thanks to geerlingguy for paying attention. Sorry about wasting your time.