[solved] CGBetterForms include HTML in output

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

[solved] CGBetterForms include HTML in output

Post by paulbaker »

CGBetterForms (v. 1.3.1) is very lovely, it's a much better way of creating and setting up forms than FormBuilder. Thanks Calguy!

One thing I am stuck on though...

In the Form Output tab ("Smarty template for the final message to display to the user") I have some smarty which correctly calculates a score. Then I have:

Code: Select all

You got {$total}/20 correct.
which displays fine. However as soon as I add any HTML tag in this box (e.g. <strong>) none of it displays, suggesting an error. What am I doing wrong?

Thanks
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm

Re: CGBetterForms include HTML in output

Post by rotezecke »

i've never used this module, but have you tried:
{literal}<strong>{/literal}
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: CGBetterForms include HTML in output

Post by paulbaker »

Yep, that's exactly what I needed. Thanks rotezecke!
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Post Reply

Return to “Modules/Add-Ons”