#1
|
||
|
phmailer subject validation
Hello everyone...
I'd like to modify the "subject" field so that a seclection is required... Please choose --> Yes No Thanks! Glenn |
#2
|
||
|
do you also want "yes" or "no" as your subject?
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#3
|
||
|
Thanks for the quick response. I used the "yes" and "no" as an example. I actually want the options to be:
Please choose Augusta Bangor Biddeford Brunswick Lewiston Portland Portsmouth Windham With each going to a different e-mail address. |
#4
|
||
|
That feature is already built into the script... Open phmailer.php and change $use_subject_drop to true and modify $subjects and $emails to your liking.
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#5
|
||
|
Hi Scott,
I apologize if I'm missing something. I've got the form working the way I want other than I would like the subject drop down to be required. The way I have it set up now, many people don't select one of the options. They leave the first option selected (Augusta), so many of the messages get delivered to the wrong address. Current options in drop down: Augusta Bangor Biddeford Brunswick Lewiston Portland Portsmouth Windham Thanks! |
#6
|
||
|
Hi Scott,
I was wondering if you had any further infor for me on this....thanks! |
#7
|
||
|
Replace your script with the script below. Pay attention to how the subjects and emails are set in the arrays. The first subject is "Please select" while the first email is blank. This is a quick hack that should work for you.
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 - add Subject EntryField | rosdi | phphq.Net Forums | 0 | 04-30-2009 11:08 AM |
phMailer Autoselect Subject from Array | mike92772 | phphq.Net Forums | 2 | 01-30-2009 01:53 PM |
PhMailer: help | xist | phphq.Net Forums | 0 | 05-19-2008 04:07 PM |
phMailer - Would like to prepend e-mail subject line | sgharris | phphq.Net Forums | 1 | 11-13-2007 05:11 PM |