Inserting Hyperlink into checkbox: JS solution
-
Here is a common fix for inserting your hyperlink into a checkbox. Just remove comments down below (/* */), change out all of your own values, and place script in the body of your HTML page.
/*
<script>
// Generate anchor element and insert after span element
const yourSpanElement = document.querySelector(‘.yourSpanClass .wpcf7-list-item-label’);
yourSpanElement.insertAdjacentHTML(‘afterend’, ‘place your anchor element here’);</script>
*/
- The topic ‘Inserting Hyperlink into checkbox: JS solution’ is closed to new replies.