Support » Plugin: Contact Form 7 » Acceptance inputs not applying ID attribute

  • Resolved saulposel

    (@saulposel)


    With the latest update to CF7, acceptance inputs have an issue with the id attribute.

    For example: [acceptance allergies id:allergies]

    The expected and previous behaviour was to have id=”allergies” on the <input> tag. It is incorrectly being applied to the wrapping <span> tag. Can you fix this bug?

    As per the CF7 documentation, the expected behaviour is that id is set on the input as described above.

    This breaks certain functionality, such as <label for=”allergies”> which should check / uncheck the checkbox, but requires the id to be set on the input.

    Thanks. Hope this bug report is useful.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Acceptance inputs not applying ID attribute’ is closed to new replies.