• Resolved SPiNNdevs

    (@spinndevs)


    Hi,

    we have the problem, that some code/plugin on our website already adapts form-inputs before they are passed to your plugin. Among other changes, a autocomplete-attribute is already added to the comment-field before you add your own autocomplete=”new-password”, what leads to the fact, that the same attribute is on the same element twice, what the w3 validator marks as an error.
    I haven’t found any simple way to workaround this issue, as there seem to be no hooks/filters included in your plugin.
    Do you know a solution to this issue? Or do you plan to improve your compatibility with other code/plugins in near future?

    Thanks in advance
    and best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Torsten Landsiedel

    (@zodiac1978)

    Hi @spinndevs,

    unfortunately this is a complex regular expression adding our honeypot, which is non-optional. Therefore there is no filter hook to change this behavior.

    some code/plugin on our website already adapts form-inputs before they are passed to your plugin

    Do you know *which* code/plugin is doing this? Maybe you can solve this issue on the other side?

    If we can help to fix this, I’m more than happy to do this, but we need more info about the steps to reproduce this. If the code/plugin is widely used we will try to find a solution!

    All the best
    Torsten

    Thread Starter SPiNNdevs

    (@spinndevs)

    Hi Torsten,

    Thanks for your reply!
    Turned out, it’s our own code, so we fixed it by not adding the attribute in advance to the input when your plugin is active. Fair enough.

    Thank you,
    Best regards

    Plugin Contributor Torsten Landsiedel

    (@zodiac1978)

    Hi @spinndevs

    thanks for the info! Great that you could fix it easily on your end ??

    All the best
    Torsten

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Duplicate autocomplete-attribute generates error in w3 validator’ is closed to new replies.