Good morning!

I've recently installed the Guestbook module on one of the sites I manage. The immediate problem is that neither of the site's anti-spam modules recognize it as an entry form, so I'm not able to turn on protection for it. As you can imagine, I've learned about half a million times since the install that I can get a great price on Cialis by shopping somewhere "totally reliable."

The next issue is that the form isn't at all configurable. We were aiming for something similar to the previous guestbook system that allowed for a handful of brief questions to be asked above the general textarea field. I'm wondering if there's a way to modify the module to allow for that.

I'm assuming that if either of these things can be changed, I'll need to modify guestbook.module. I'm ashamed to admit, though, that while I have no trouble reading PHP, I'm abysmal at writing it. I have a handy book, but would have to ask for a hand to point me at which bits to edit.

If you can assist with this, or point me to a better way of setting up a guestbook feature, it will be most appreciated.

Thanks!
-Dev

Comments

Jaypan’s picture

Looking at the guestbook module, it appears to use Drupal's form API, and looking at the manual for Captcha, it appears to support any from that uses Drupal's Form API. So you should be able to set it to work on the guestbook form.

More info on how to do so here: https://www.drupal.org/node/1286184