Hi Eric,
I assume you mean the templates email page (contactus.php) in the Universal email folder? If that IS what you mean, i tried what you said and came up with the following:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body style="font-family: Arial, Helvetica, sans-serif;">
<div id="content" style="font-size: 12px;">
<h1 style="color: #777890;font-size: 14px;font-weight: bold;margin:0;">Contact Form Response</h1>
<hr style="margin:0;"/>
<?php
foreach( $_POST as $pkey => $pval ){
if ($pval != "" && strpos($pkey,"Security_") !== 0 && $pkey != "x" && $pkey != "y") {
?>
<div style="formRow">
<strong><?php echo(str_replace("_"," ",$pkey)); ?>: </strong>
<?php echo(str_replace("\n","<BR />",$pval)); ?>
</div>
Name : <?php echo((isset($_POST["Contact_me_group_Name"]))?$_POST["Contact_me_group_Name"]:"") ?><br/>
Email : <?php echo((isset($_POST["Contact_me_group_Email"]))?$_POST["Contact_me_group_Email"]:"") ?> <br>
Comments : <?php echo((isset($_POST["Contact_me_group_Comments"]))?$_POST["Contact_me_group_Comments"]:"") ?>
<?php
}
}
?>
</div>
</body>
</html>
The problem with that is that the email came back with :
Contact Form Response
________________________________________
Contact me group Name: Nic
Name : Nic
Email : sales@overloadweb.com.au
Comments : test
Contact me group Email: sales@overloadweb.com.au
Name : Nic
Email : sales@overloadweb.com.au
Comments : test
Contact me group Comments: test
Name : Nic
Email : sales@overloadweb.com.au
Comments : test
Contact me group Security code: rs3
Name : Nic
Email : sales@overloadweb.com.au
Comments : test
SimpleContact submit x: 48
Name : Nic
Email : sales@overloadweb.com.au
Comments : test
SimpleContact submit y: 18
Name : Nic
Email : sales@overloadweb.com.au
Comments : test
SimpleContact submit: Contact me
Name : Nic
Email : sales@overloadweb.com.au
Comments : test
Any suggestions?
thanks