Support » Plugin: Contact Form 7 » Checkbox Attributes

  • I’m looking to create the following checkbox using CF7. It is essential I am able to use the same attributes.

    <input type="checkbox" id="check-box" name="chk" class="chk-bx" hidden />

    Any assistance would be greatly appreciated. This JsFiddle, will show you what im trying to create.

    Regards,
    -B

    • This topic was modified 4 years, 3 months ago by beaniie. Reason: Read
    • This topic was modified 4 years, 3 months ago by beaniie. Reason: Syntax correction
Viewing 1 replies (of 1 total)
  • Adding the HTML5 global hidden attribute as far as I know cannot be done. Am happy to be proven wrong. What you could do is just have a class in your CSS called .hidden { display:none; } and add that instead.

    [checkbox chk id:check-box class:chk-bk class:hidden]

    Hope I got that right.

    • This reply was modified 4 years, 3 months ago by muzKore. Reason: Spelling mistake DOH!!!
Viewing 1 replies (of 1 total)
  • The topic ‘Checkbox Attributes’ is closed to new replies.