• Resolved toophat

    (@toophat)


    Hi,

    We recently noticed following javascript code appearing below our contact form:

    Δdocument.getElementById( “ak_js_1” ).setAttribute( “value”, ( new Date() ).getTime() );

    We have plugin version 5.1 , wordpress 5.0.8

    Please advise how to fix this bug.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Christopher Finke

    (@cfinke)

    It appears that something is modifying the HTML that Akismet adds to contact forms; what other plugins are you running? If possible, you could try disabling them one by one to see if that temporarily fixes it, and if it does, let me know which one it was and I can look into what the conflict is.

    If the problem persists with only Akismet and Contact Form 7 active, I’ll have to look into it more deeply.

    Thread Starter toophat

    (@toophat)

    I did looked at all the other plugins ( 6 active, 1 inactive ) and went through one by one and found no change to the display of the javascript from the html code in the form field.. All plugins are up to date.

    What is the best way to send you private screen shots of the plugin list ?

    please advise.

    Thanks.

    Thread Starter toophat

    (@toophat)

    Hi, looked at the code that builds the hidden form field ak_js_1, found that the script tag is stripped from the js code when form is rendered by contact form plugin, hence shows the script.

    Any advise on how best to resolve this.

    Plugin Author Christopher Finke

    (@cfinke)

    Which version of Contact Form 7 are you using? And do you have any special settings that would cause it to strip some HTML elements?

    Plugin Author Christopher Finke

    (@cfinke)

    Or if you prefer, you can email [email protected] if you’d rather keep working on this problem through email.

    Plugin Author Christopher Finke

    (@cfinke)

    Noting that we’re now working through this over email; I’ll update this thread when it’s resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘hidden akismet form field showing’ is closed to new replies.