• Hi. I’m getting this error but there is no border color around the error message. It’s just white. This contact form has been working fine for a long time, not sure why now it’s not working.

Viewing 5 replies - 1 through 5 (of 5 total)
  • hi @sequoia1321

    the missing border is (probably) caused by the css style. you can check the class of the form with the inspector to know the submission status (in order to debug but It’s a good practice to alert users with colored signals).

    you need to find the form then check the class=”” if contains “spam”, “failed” or “aborted”

    this will restore the original style if it was overriden (customizer->additional css)

    .wpcf7 form.failed .wpcf7-response-output,
    .wpcf7 form.aborted .wpcf7-response-output {
    	border-color: #dc3232 !important; /* Red */
    }
    
    .wpcf7 form.spam .wpcf7-response-output {
    	border-color: #f56e28 !important; /* Orange */
    }
    
    .wpcf7 form.invalid .wpcf7-response-output,
    .wpcf7 form.unaccepted .wpcf7-response-output {
    	border-color: #ffb900 !important; /* Yellow */
    }
    Thread Starter sequoia1321

    (@sequoia1321)

    I had trouble figure out how to access the css. I tried some different themes and none of them were showing the border color. I went into the Contact Form 7 settings and added an extra space after the period for the first sentence of the error message that is given for spam, so that way if I get it again I’ll know it is the orange one I assume. I also deleted and reinstalled Contact Form 7, and this time it seems to be working. Not sure what’s going on.

    Do you know how it determines what is spam? Before this change, When I had contacted my host to troubleshoot the issue, they tried the form with their email address and it went through without a problem, but when I tried that same email address from my computer I got the error message. In the past I had been periodically testing the form with the words test, and use my own email address. I wonder if somehow later that got counted as spam? I wish I had tested it out before deleting and reinstalling it, because now I’m not sure what caused the issue.

    • This reply was modified 4 years, 9 months ago by sequoia1321.

    Not sure what’s going on.

    seems something related to caching but without the possibility to check your website is wild guessing

    there are few spam checks integrated in cf7 so I suppose it’s an external plugin. can you list the mail/security/caching related plugins installed and active in your website?

    My advice is to install flamingo to get the rid of the reason of spam
    https://contactform7.com/2019/05/31/why-is-this-message-marked-spam/

    • This reply was modified 4 years, 9 months ago by Erik.
    Thread Starter sequoia1321

    (@sequoia1321)

    I believe it must be reCaptcha related, because initially I had reCaptcha integrated, but when I deleted and reinstalled Contact Form 7 I forgot to setup reCaptcha and I believe that’s why it started working again. Then when I setup reCaptcha again it started giving the error message. The problem is that without a spam filter I seem to be getting too much spam. I looked into flamingo and have installed it. Will this get rid of my spam or do I need some kind of spam filter still?

    no you need a spam filter, my advice is to install Akismet for this.

    Flamingo will show the spam/ham emails with reason why those mail were blocked, using recaptcha for example will show the spam score from 0.00 to 1.00

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘There was an error trying to send your message error, without a border color’ is closed to new replies.