Removing "Hidden Field" and "Submit" from sent email
Is there a way to make the unnecessary fields, such as "Hidden Field" and "Submit" disappear from the email that gets sent?
Is there a way to make the unnecessary fields, such as "Hidden Field" and "Submit" disappear from the email that gets sent?
Hi, in the email templates folder you have 2 files, blank and template.php
Edit the $remove = array(); in template.php (not sure if u need to do it on both, long time since i did it).
code looks like this:
<?php
$remove = array();
$remove[] = "";
$remove[] = "x";
$remove[] = "y";
$remove[] = "WHATYOUDONTWANNASEND1";
$remove[] = "WHATYOUDONTWANNASEND2";
$removeBegins = array();
$removeBegins[] = "Security";
$removeEnds = array();
$removeEnds[] = "_x";
$removeEnds[] = "_y";
$removeIncludes = array();
$removeIncludes[] = "Security";
?>
the $remove[] correspondence to the items (Field names from your form) you don´t wanna show in the mail that will be sent.
I can´t recall where i found this information. I will look it up so you get more accurate information.
Check this video: watch?v=dflFeWp_0F4&list=PL1F359A82D04D2329&index=7&feature=plpp_video
//Morgan
Morgan... I'll give it a try once I get the form working again. It only works about half the time and I haven't got a clue why. Thank you for the information!
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.