Adding a hyperlink to the checkbox in the contact form 7 [closed]

I have added a required checkbox field to contact form 7 to fill before form submission. But I need to give link “Terms and Condition” to the page. I searched and tried in many ways, but i cannot find the correct way. If someone can help me I really appreciate it. Thanks in advance

This is the checkbox field I already added

[checkbox* term_and_conditions class:required "I can confirm I have read and accepted the Terms and Conditions."]

1 Answer
1

It should work like said in my comment but maybe an even better way would be to use the acceptance filed-type that is build especially for that kind of checkboxes.

[acceptance term_and_conditions class:required] I can confirm I have read and accepted the <a href="http://www.your-domain.com/terms-page">Terms and Conditions</a>.[/acceptance]

In the contact form 7 edit page go to the tab additional settings and add:

acceptance_as_validation: on

Leave a Comment