• Regarding the checkboxs I would like to insert a link in the checkbox text. I have tried to use an HTML link but all I get is an error, the checkbox just disappear. Can anyone help me with that? thank you

Viewing 1 replies (of 1 total)
  • You don’t necessarily need to put it in the checkbox itself. Here is what I have done.

    <label>
        [checkbox terms "Yes"]
        <span>I agree to the <a href="/terms-conditions/" target="_blank">Terms & Conditions</a></span>
    </label>

    The label wrapped around the entire thing allows the text to check the box and also allows the link to work.

    Just use CSS to style everything the way you need it then. You can even hide the “Yes” that would show by default with:

    span.wpcf7-list-item-label {
        display: none;
    }

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘How to insert a link in a checkbox?’ is closed to new replies.