I'm needing a little help with this simple fix, I think. Our system needs the field name and values emailed to me in this format:
Originator_ID="2008001"
Originator_Name="MST Tan"
Request_Type="catalog"
Right now all I know how with your system is to get the email in this format using {field_name}
Orinator_ID 2008001
Originator_Name MST Tan
How can I combine them in the the first section?
Thanks
mikus
Originator_ID="2008001"
Originator_Name="MST Tan"
Request_Type="catalog"
Right now all I know how with your system is to get the email in this format using {field_name}
Orinator_ID 2008001
Originator_Name MST Tan
How can I combine them in the the first section?
Thanks
mikus
Hi mikus,
Change the template to
Bob
Change the template to
Originator_ID="{Originator_ID}"
Originator_Name="{Originator_Name}" - but with the exact field names in there.Bob
Thanks for getting back with me. That didn't seem to work for me. Its sending the same format such as:
First_Name mikus
Last_Name smith
Street 222 N. Spencer
City kansas
State In
Postal_Code 23232
Country US
Phone 55535155555
Email [email]test@stest.biz[/email]
In my email template I used:
First_Name="{First_Name}"
The chronoforms seems to add both the name and the text value entered with all one {First_Name}. It didn't change the layout when I made the changes?
Mikus
First_Name mikus
Last_Name smith
Street 222 N. Spencer
City kansas
State In
Postal_Code 23232
Country US
Phone 55535155555
Email [email]test@stest.biz[/email]
In my email template I used:
First_Name="{First_Name}"
The chronoforms seems to add both the name and the text value entered with all one {First_Name}. It didn't change the layout when I made the changes?
Mikus
Hi mikus,
It looks to me as though the changes haven't saved. Try something different - add XXXXX into the template and see if that appears when you test.
Bob
It looks to me as though the changes haven't saved. Try something different - add XXXXX into the template and see if that appears when you test.
Bob
Here's the scoop. It does format correctly if html email is turned on. That is why I was getting the other format. The problem now is that the html format is embedding some html tags. Basically the < htm l > <body > then the closing. My system will reject any tags.. Where can I remove those?
Thanks
Thanks
Hi mikus,
I don't see anything in the ChronoForms code that would add those tags. Are you using the html editor for the template - possibly that adds tags. Try turning it off - in the Setup emails properties box.
Bob
I don't see anything in the ChronoForms code that would add those tags. Are you using the html editor for the template - possibly that adds tags. Try turning it off - in the Setup emails properties box.
Bob
It's in the chronocontact.php file here:
* Wrap page code around the html message body
*/
$html_message = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
<html>
<head>
<title></title>
<base href=\"$mosConfig_live_site/\" />
<style type=\"text/css\">
".strip_tags( $chronocontact_params->get('newsletter_css'))."
</style>
</head>
<body>$html_message</body></html>";
}
/**
* Wrap page code around the html message body
*/
$html_message = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
<html>
<head>
<title></title>
<base href=\"$mosConfig_live_site/\" />
<style type=\"text/css\">
".strip_tags( $chronocontact_params->get('newsletter_css'))."
</style>
</head>
<body>$html_message</body></html>";
}
/**
Hi mikus,
which CF version is this ? I'm sure its not V3.0 stable, consider upgrading!
Regards
Max
which CF version is this ? I'm sure its not V3.0 stable, consider upgrading!
Regards
Max
No sorry, just hack the code and remove those tags!
Regards
Max
Regards
Max
This topic is locked and no more replies can be posted.
