Hi,
I have been trying to get a ContactForm, based on the snippet of the same
name, working.
This is pretty much the code as it stands but
$SendMail = '';
if (isset($_POST['testtext'])) {
$SendMail .= <<<MAILRESPONSE
<h3>Mail Response Here</h3>
MAILRESPONSE;
}
$SendMail .= <<<MAILFORM
<form method="POST" name="ecpemailform" id="ecpform" action="[~[*id*]~]">
<input type="text" name="testtext" />
<input type="submit" value="Send this Message" />
</form>
MAILFORM;
return $SendMail;
If I put in
Then I get an empty array.
Anyone know why this might be happening?
cheers, Joc