Opened 16 years ago

Closed 16 years ago

#9673 closed (invalid)

comment form honeypot field isn't hidden when using {% get_comment_form %}

Reported by: aj Owned by: nobody
Component: contrib.comments Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

With {% render_comment_form for object %} you get the following for the hidden fields:

...
<p style="display: none;">....</p>
...

But {% get_comment_form for object as form %} returns a form with the, supposedly hidden, honeypot fields visible.
So the text "If you enter anything in this field your comment will be treated as spam" is displayed when using {% get_comment_form for object as form %}

Change History (1)

comment:1 by aj, 16 years ago

Resolution: invalid
Status: newclosed

After reading the documentation carefully, I found out that this was already known and intentional and not an error.

Note: See TracTickets for help on using tickets.
Back to Top