Change the acceptance line as follows:
[acceptance acceptance-956 invert]I accept the<a href="https://www.latorre.co.uk/contact" target="_blank"> Terms & Conditions</a>[/acceptance]
* Ideally you should link to a specific T&C page.
Thanks for this.
Sorry, I meant link to https://www.latorre.co.uk/terms-and-conditions/
Unfortunately when I tried that (below) I just got a line of text but not a link.
[acceptance acceptance-956 invert]I accept the Terms & Conditions[/acceptance]
I’ll keep it for a few minutes to show you here: https://www.latorre.co.uk/contact/
Did you copy the full HTML?
[acceptance acceptance-956 invert]I accept the<a href="https://www.latorre.co.uk/terms-and-conditions/" target="_blank"> Terms & Conditions</a>[/acceptance]
That should work. I just tried this on a test site and a) the link takes me to the T&C page for the site, and b) the acceptance checkbox works.
That’s very strange.
This is the exact code I’ve used:
[text 1="your-name" language="*"]Your Name[/text*]
[email* your-email]Your Email[/email*]
[text your-subject]Subject[/text]
[textarea your-message]Your Message[/textarea]
[acceptance acceptance-956 invert]I accept the Terms & Conditions[/acceptance]
[submit “Send”]
It’s still showing a line of text at the bottom instead of a hyperlink.
Can you wrap the code in backticks so the forum software doesn’t convert the html to a link?
Another question. Where do you get the [text 1="your-name" language="*"]Your Name[/text*] syntax from?
This plugin uses:
<label>Your Name *
[text* your-name] </label>
https://contactform7.com/editing-form-template/
Maybe this is why the html link is not working.
Try building a new form and following the guidance in the docs.
I’ve created a new contact form by clicking new and then inserting the one line of syntax into it, which should be the T&Cs as a hyperlink.
This is it (Including a backtick at the start and end):
‘[text 1="your-name" language="*"]Your Name[/text*]
[email* your-email]Your Email[/email*]
[text your-subject]Subject[/text]
[textarea your-message]Your Message[/textarea]
[acceptance acceptance-956 invert]I accept the Terms & Conditions[/acceptance]
[submit “Send”]’
Unfortunately, the link is not showing as still appears as ‘I accept the Terms & Conditions‘
Should be:
‘[text 1="your-name" language="*"]Your Name[/text*]
[email* your-email]Your Email[/email*]
[text your-subject]Subject[/text]
[textarea your-message]Your Message[/textarea]
[acceptance acceptance-956 invert]I accept the Terms & Conditions[/acceptance]
[submit “Send”]’
Sorry – the * (asterisk) after the word ‘text’ keeps converting to a ‘1’ when I post.
1) note that the backtick (`) is not the same as the apostrophe. On my keyboard it is in the top left corner.
2) Check my last message regarding the syntax you are using. I think it applies in this case.
I’m afraid this looks like it’s beaten me!
I’ve read and re-read the instructions and all about syntax and I can’t get it right.
This is the code (with backticks):
[text 1="your-name" language="*"]Your Name[/text*]
[email* your-email]Your Email[/email*]
[text your-subject]Subject[/text]
[textarea your-message]Your Message[/textarea]
[acceptance acceptance-956 invert]I accept the<a href="https://www.latorre.co.uk/terms-and-conditions" target="_blank"> Terms & Conditions</a>[/acceptance]
[submit "Send"]
I’m still getting the line of text :- I accept the Terms & Conditions
Backticks looking good!
Try deleting your Form code and inserting this in your Form page and test:
<label>Your Name *
[text* your-name] </label>
<label>Your Email *
[email* your-email] </label>
<label>Your Subject
[text your-subject] </label>
<label>Your Message
[text your-message] </label>
[acceptance acceptance-956 invert]I accept the<a href="https://www.latorre.co.uk/terms-and-conditions" target="_blank"> Terms & Conditions</a>[/acceptance]
[submit "Send"]
This is the correct syntax for this plugin.
I’m still getting the same issue.
I started afresh with a new form, deleted the syntax in the form template, then copied and pasted the syntax you gave me and this is the result, on this test page: https://www.latorre.co.uk/attractions/
PS Bizarrely, looking at my previous post on this, the line of code that I pasted has appeared on the post exactly as I wanted it (‘I accept the Terms & Conditions’).
I’ve created a test form here using that exact syntax (except I changed [text your-message] to the correct [textarea your-message]). It works as expected
I suggest you try disabling all other plugins and activating the Twenty-Seventeen theme. Then test the form. If it works and appears correctly (it should) reactivate them one by one and test each time until you find the conflict.
That’s perfect.
I will do as you say.
Thanks for your patience and perseverance!