This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
variable for checkbox list gives odd "extras" when included in email topic.
Started 15 years ago by tomeksiara | 4 posts |
-
I have these issues with email topic construction using variables.
Here are the examples:E-MAIL TOPIC TEMPLATE: "{element_25} | ETY #{entry_no}: {element_5} {element_7}"
HOW TOPIC LOOKS LIKE NOW: "ORG | ETY #50: - SPA ACADEMY (br /)* Krem"
HOW ID LIKE THIS TOPIC TO LOOK LIKE: "ORG | ETY #50: SPA ACADEMY Krem"
Is there a possibility to remove these extras "-" and "(br /)" by editing application files?
.
.
.
* I changed "<,>" to "(,)" for better visualisation of HTML tags.Posted 15 years ago # -
Hi,
i think you have same problem with this post
http://www.appnitro.com/forums/topic/-in-subject-line?replies=7
MachForm Support
Posted 15 years ago # -
Thanks for the tip, it worked well for the "-" extras but i still have this (br /)* in my topic.
Any idea how I can get rid of that?
.
.
* I changed "<,>" to "(,)" for better visualisation of HTML tags.Posted 15 years ago # -
I see, you should edit another code then , go to line 458 you will see this code :
$mail->Subject = html_entity_decode($mail->Subject,ENT_QUOTES);
You can add this exactly above that code
$mail->Subject = strip_tags($mail->Subject);
it should strip out all HTML tags
MachForm Support
Posted 15 years ago #
Reply
You must log in to post.