Opened 7 years ago

Closed 7 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: UI/UX:


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 Changed 7 years ago by aj

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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