Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-30-2009, 11:08 AM
rosdi is offline rosdi
Registered User

Join Date: Apr 2009
Posts: 1

Sad phMailer - add Subject EntryField

Hi,

I found this website from a posting in CubeCartForum.org. Nice contact us form.

I would like to change the email subject from "department" to new Subject EntryField. I add below before the message:

Code:
	<tr>
		<td width="30%" class="table_body">Subject:</td>
		<td width="70%" class="table_body"><input name="resubject" type="text" size="30" value="<?=stripslashes(htmlspecialchars($resubject));?>" /><span class="error_message">*</span></td>
	</tr>
Add below for Function Checkit:

Code:
	if(theform.resubject.value=="") {
		error+="You did not enter the subject\n";
	}
What else I need to add and change. I did try to change below:

Code:
$myemail=$emails[$emailsubject];
$emailsubject=$subjects[$emailsubject];
to

Code:
$myemail=$emails[$emailsubject];
$emailsubject=$resubject[$emailsubject];
The email subject will change as what I type in the Subject EntryField but only first word can be seen. Like if the subject is "Test". The email subject will be "T".

Please help.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help for seting the link name with some string prefix to phmailer subject field..please help ..its sandeep phphq.Net Forums 0 06-02-2010 12:07 PM
phMailer Autoselect Subject from Array mike92772 phphq.Net Forums 2 01-30-2009 01:53 PM
Add text to body in phMailer spawny phphq.Net Forums 8 09-19-2008 12:07 AM
phmailer subject validation glennpaddock phphq.Net Forums 6 02-15-2008 02:41 PM
phMailer - Would like to prepend e-mail subject line sgharris phphq.Net Forums 1 11-13-2007 05:11 PM


All times are GMT -5. The time now is 06:41 AM.




Powered by vBulletin®