Adding a link to a form block question

Permalink
Hello peeps,

I am trying to add a question to the end of all my website forms, which is a required checkbox question, stating that the user has read and agrees to the site policy. This is fairly standard on many websites...

When I try to place the a href tag in the question's answer field, to make the word "policy" hyperlink to the policy page, the output displayed on the form is broken up.
So obviously I am missing something.

I'm sure other c5 websites have a similar feature, how is this done?

TIA,
Sharon

anchoredbutterfly
 
JohntheFish replied on at Permalink Reply
JohntheFish
As well as the Magic Tipple addon described for links to popups in the other thread (http://www.concrete5.org/community/forums/usage/adding-a-link-into-... ), for simple links to URLs I have Magic Linkify.
http://www.concrete5.org/marketplace/addons/magic-linkify/...
https://www.concrete5.org/marketplace/addons/magic-tipple/...

Linkify works in a very similar way to tipple, matching text and adding a link (vs a popup) using JavaScript after the page is rendered. I will work on top of any form in the same way.
anchoredbutterfly replied on at Permalink Reply
anchoredbutterfly
Thank you, John.
As I am currently rebuilding the entire website, a huge job which will be outsourced, I am not looking to invest in any more add-ons at the moment.

Looking for a simple code solution.... I don't need them to open up a new window with the entire policy there, just a link to it and a checkbox that they agree...
Steevb replied on at Permalink Best Answer Reply 3 Attachments
Steevb
Did you place the link in the question box?
<a href="/terms" target="_blank">I have read and agree to the site policy</a>


It works for me, see attached images.

Also, if you need the form to be responsive and need some styling, paste the attached zip file in the the sites blocks folder as a template.
anchoredbutterfly replied on at Permalink Reply
anchoredbutterfly
Thank you very much, Steev! :)

(Did you get my email, btw?)
Steevb replied on at Permalink Reply
Steevb
I did thanks, I will back to you later today.
anchoredbutterfly replied on at Permalink Reply
anchoredbutterfly
Brilliant. Thanks :)