Hell everyone,
I haven't find answer on this forum, so new topic. I'm trying to solve out how to wrap some text "I agree to the terms & conditions" in the form to the popup windows with whole Agreement text, I mean, when visitor will click on the link, he will be able to read some Agreement before checking box that he just did/read.
The problem is I use JSON Formbuilder via chunk:
[[!JsonFormBuilder-fromJSON? &jsonTpl=`JsonFromBuilder-formBasic`]]
In the template I've got this checkbox:
{"element":"checkbox", "id":"agree_terms", "label":"[b]I agree to the terms & conditions[/b]", "value":"Agree", "uncheckedValue":"Disagree", "checked":false, "rules":[
{"type":"required","validationMessage":"You must agree to the terms and conditions"}
]},
I tried to replace text "I agree to the terms & conditions" with another chunk [[$agreement]] - but everything (for example javascript:
<span class="link101" onclick="create101Modal();return false;">
) written to this chunk will end with error.
Do I have to use somehow TV template or any snippet? Frankly, I'm helpless....
Thank you for reading this!
Peter.