pc_guy84
08-17-2003, 01:20 AM
Hey everyone I'm working on an email submit form and need your help.
When this form is submitted, I want to pull the value from the "student_name" field and add it to my MAILTO:?subject= line.
[If it worked properly I'd end up with an email that contains the form's contents and had "OJT Weekly Time sheet for "STUDENT_NAME"" as the subject.]
My code looks like this so far:
<FORM NAME = "form" ACTION = "mailto:xxx@xxx.com?subject=OJT Weekly Time Sheet for "form.STUDENT_NAME.value" METHOD = "POST" ENCTYPE = "text/plain">
...<INPUT name="STUDENT_NAME" TYPE="TEXT" SIZE="30">...
I hope I've made my idea clear enough but it's kinda hard to explain. Does ANYBODY have an idea as to how I can make this subject addition happen? I know it has to be something really easy that I'm just missing. Help please. :confused:
When this form is submitted, I want to pull the value from the "student_name" field and add it to my MAILTO:?subject= line.
[If it worked properly I'd end up with an email that contains the form's contents and had "OJT Weekly Time sheet for "STUDENT_NAME"" as the subject.]
My code looks like this so far:
<FORM NAME = "form" ACTION = "mailto:xxx@xxx.com?subject=OJT Weekly Time Sheet for "form.STUDENT_NAME.value" METHOD = "POST" ENCTYPE = "text/plain">
...<INPUT name="STUDENT_NAME" TYPE="TEXT" SIZE="30">...
I hope I've made my idea clear enough but it's kinda hard to explain. Does ANYBODY have an idea as to how I can make this subject addition happen? I know it has to be something really easy that I'm just missing. Help please. :confused: