[resolved] Available Akismet options in Contact Form 7 (5 posts)

  1. desean
    Posted 6 years ago #

    Can anyone advise what are all the akismet option available for contact form 7?

    I am trying to get Akismet to validate message content (see my code example below under "Your Message") of my contact form by using akismet:content but it did not work. I "guessed" this option based on what I can find at http://akismet.com/development/api/ but it didn't work.

    <p>Your Name (required)<br />
        [text* your-name akismet:author] </p>
    <p>Your Email (required)<br />
        [email* your-email akismet:author_email] </p>
    <p>Your Message (required)<br />
        [textarea* your-message akismet:content] </p>

    Can someone advise?

    Thanks in advance.


  2. Takayuki Miyoshi
    Posted 6 years ago #

    Akismet options current Contact Form 7 supports are akismet:author, akismet:author_email, and akismet:author_url. akismet:content is no longer supported. All form inputs are concatenated and sent to Akismet as content, insted.

  3. desean
    Posted 6 years ago #

    oh, so am I correct to say [textarea* your-message] will also be validated by Akismet as long as one of the Akismet option is set in the other fields?

  4. Takayuki Miyoshi
    Posted 6 years ago #

    Yes. All data is checked by Akismet if you set at least one Akismet option in your form.

  5. desean
    Posted 6 years ago #

    ok, great!

    by the way, thanks for this wonderful contact form.

Topic Closed

This topic has been closed to new replies.

About this Topic