• Resolved sgb02

    (@sgb02)


    I just configured a Contact form to use Akismet by entering the akismet:author, akismet:author_email tags.

    Next I performed a test by entering viagra-test-123 in the name field, which caused the form mail to not be sent and the error message was highlighted by an orange box. This was as expected.

    But when I entered viagra-test-123 in the message field [your-message] Akismet did not identify the message as spam and it was sent normally. This was not as expected.

    Does Akismet check other fields such as [your-message] field for spam? If not, is there a way to provide a tag (similar to the above akismet-author tag) to enable Akismet to check other fields e.g. your-message?

Viewing 4 replies - 16 through 19 (of 19 total)
  • Unfortunately, there is still no solution on this issue.
    @takayukister Was there a plug-in update considering this issue?

    When I add akismet:author to field construct, the field disappears on the front-end. Completely removed from code and only an empty p tag is in its place. Why is this happening?

    With regards to my question above, I figured out why my text fields are disappearing from my forms when I try and add akismet validation checks. If you’re using PLACEHOLDER, it has to be added last OR after you enter akismet attributes. For example:

    This is WRONG:
    [text* your-name placeholder "Name" akismet:author]

    This is CORRECT:
    [text* your-name akismet:author placeholder "Name"]

    Definitely a bug in the shortcode at run-time.

    @takayukister
    @cfinke

    I’ve just created a form as @cfinke suggested …

    <label> Your Name (required)
        [text* your-name akismet:author] </label>
    <label> Your Message
        [textarea your-message] </label>
    [submit "Send"]

    The viagra-test-123 in the your-name causes the expected error message, but akismet-guaranteed-spam in the your-message field causes the email to be sent normally.

    Did the sending of comment_content get added as @cfinke had suggested? CF Version 4.9.1 in WP 4.7.10.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Does Akismet check the your-message field for spam?’ is closed to new replies.