I'm making a custom form (fields are added by using
drupal_render), but since I have Honeypot enabled for all my web forms, when I submit a form, I get the following message:
There was a problem with your form submission. Please wait X seconds and try again.
That's because Honeypot markup isn't being included in my custom form.
I have two options:
- Disable Honeypot for this form (not possible through module settings from Drupal administration menu). How can I add an exception?
- Enable Honeypot manually (with
drupal_renders I guess).
Honeypot docs is so poor, so I also have tried to add Honeypot markup manually in this way:
<?php print drupal_render($form['honeypot_time']); ?>
<?php print drupal_render($form['url']); ?>
It adds the markup actually, but it isn't fixing yet.