Send html code via CG BetterForm

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Mich-adg
Forum Members
Forum Members
Posts: 199
Joined: Sat Aug 02, 2008 9:08 pm

Send html code via CG BetterForm

Post by Mich-adg »

Hi,
i'm looking for a tip to send html code (a table for example) via CGBetterForm. I tried via an hidden textarea, but the html tags are deleted after submission and i got a raw text only (even if i have no handler active on the form).
If somebody has a tip...
Thx !!
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Send html code via CG BetterForm

Post by DIGI3 »

You could probably use the "compute a field value" validator to build the table into the variable. Either that or build the table in the email template.
Not getting the answer you need? CMSMS support options
Mich-adg
Forum Members
Forum Members
Posts: 199
Joined: Sat Aug 02, 2008 9:08 pm

Re: Send html code via CG BetterForm

Post by Mich-adg »

thanks, i tried but it doesn't work. No possibility to add html tags in the template (they're stripped out after saving).
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

Re: Send html code via CG BetterForm

Post by rotezecke »

have you tried wrapping your html in {literal} tags?
Mich-adg
Forum Members
Forum Members
Posts: 199
Joined: Sat Aug 02, 2008 9:08 pm

Re: Send html code via CG BetterForm

Post by Mich-adg »

Yes i tried, but when you save the "Computed Value Field", html tags are stripped out. Even the "raw" value of a field (in the email template) strips out the html tags...
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Send html code via CG BetterForm

Post by DIGI3 »

Where is this happening, in an email handler or saving to database or..?
Not getting the answer you need? CMSMS support options
Post Reply

Return to “Modules/Add-Ons”