<input type="file" name="picture1" eform="Picture 1:file:0" />
<td>[+picture1+]</td>
<form method="post" action="[~[*id*]~]" enctype="multipart/form-data">
$rt = strtotime($value); //php 5.1.0+ returns false while < 5.1.0 returns -1 if ($rt===false||$rt===-1) $vMsg[count($vMsg)]=$desc . $_lang["ef_invalid_date"];
elseif ($eFormOnBeforeMailSent($fields)===false) {
if( isset($fields['validationmessage']) && !empty($fields['validationmessage']) )
return formMerge($tpl,$fields);
else
return;
}&subject=`Contact from mywebsite.com - [.subject.]`
I would like to be able to mix text and placeholders in the subject for the email, that way I can give the form submitter the opportunity to add their own subject information while also including some common text that could be used for filtering in an email client or at least help identify real emails versus spam.
Code:
&subject=`Contact from mywebsite.com - [.subject.]`
The [.subject.] part gets pulled from the form submission and included, but not the "Contact from mywebsite.com - "
&subject=`Contact from mywebsite.com - [+fld_subject+]`
This discussion is closed to further replies. Keep calm and carry on.