First off. This is one hell of a timesaver!! Now my only problem is the I get 2 emails when i submit my form. One has all the info except a blank subject and the other is totally blank.
I have defined the email subject, I am using the Custom option under general.
Any help would be appreciated.
I have defined the email subject, I am using the Custom option under general.
FORM HTML:
<table cellpadding="0" cellspacing="5" border="0">
<tr><td width="90">Title:</td><td>
<select name="title">
<option>Mr.</option>
<option>Mrs.</option>
</select>
</td></tr>
<tr><td><b>Name:</b></td><td>
<input type="text" name="name" size="40">
</td></tr>
<tr><td><b>Company:</b></td><td>
<input type="text" name="company" size="40">
</td></tr>
<tr><td><b>Email:</b></td><td>
<input type="text" name="email" size="40">
</td></tr>
<tr><td><b>Subject:</b></td><td>
<input type="text" name="subject" size="40">
</td></tr>
<tr><td><b>Message:</b></td><td>
<textarea rows="5" cols="40" name="comments" ></textarea><br />
</td></tr>
</table>
<input type="submit" name="submit" value="Send">
</td>
</tr>
</table>
Any help would be appreciated.
Hmmmm, u want 2 emails with 2 different subjects, i have no idea how u can achieve this easily, try hacking chronocontact.php, near the line Mosmail, write another one, google Mosmail for info about the variables if u need, but u can do it from mine, its easy.
good luck🙂
good luck🙂
Hello,
I was having the same problem all emails came through w/ no subject, I tried everything even switched to "custom" but nothing worked. I then did the below and now it works fine pulling the "email subject".
below edits made in "chronocontact.php":
on line 144 delete the following lines of code:
-----------------------------------------------
if(trim($paramsvalues->subjectfield) != ""){
$subject = $_POST[$paramsvalues->subjectfield];
}
on line 174 delete the following lines of code:
-----------------------------------------------
if(trim($paramsvalues->subjectfield) != ""){
$subject = $_POST[$paramsvalues->subjectfield];
}
I was having the same problem all emails came through w/ no subject, I tried everything even switched to "custom" but nothing worked. I then did the below and now it works fine pulling the "email subject".
below edits made in "chronocontact.php":
on line 144 delete the following lines of code:
-----------------------------------------------
if(trim($paramsvalues->subjectfield) != ""){
$subject = $_POST[$paramsvalues->subjectfield];
}
on line 174 delete the following lines of code:
-----------------------------------------------
if(trim($paramsvalues->subjectfield) != ""){
$subject = $_POST[$paramsvalues->subjectfield];
}
Hi,
Thank you, I just want to explain this :
I made a feature which is that you can control the email subject using one of ur form fields, for example, when u use my demo here and put ur real email, you will get an email its subject is the same text you have entered at my subject field... do u know how ? this is by entering at the form subjectfield the field name which will contain the subject text, hard to understand ?
I guess your problem may be you had some non existing or not always filled field name there or may be a space!!!
Thanks,
Max
Thank you, I just want to explain this :
I made a feature which is that you can control the email subject using one of ur form fields, for example, when u use my demo here and put ur real email, you will get an email its subject is the same text you have entered at my subject field... do u know how ? this is by entering at the form subjectfield the field name which will contain the subject text, hard to understand ?
I guess your problem may be you had some non existing or not always filled field name there or may be a space!!!
Thanks,
Max
This topic is locked and no more replies can be posted.