Reply
"Mailto Subject line" question.
Old 05-15-2006, 06:34 PM "Mailto Subject line" question.
WSKeaton's Avatar
Junior Talker

Posts: 4
Location: Washington
I'm very very new to HTML and scripting and need serious help. I work in IT account administration and created an HTML request form that, when submitted, sends to our helpdesk software which generates a ticket automatically. I'm currently using VBScript for my field validation and i'm desperately trying to figure out how to configure the mailto?Subject to pull from a required form field instead of having it hard coded. Is this possible?

example: action=mailto:me@company.org?subject=(end user defined)

WSKeaton is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 05-16-2006, 01:29 AM Re: "Mailto Subject line" question.
ChipJohns's Avatar
I don't know! Do you?

Posts: 477
Name: Chip Johns
Location: Savannah Georgia
This will take place within the processing of the form. What are you using to process the form information?

Oh and Welcome WS

Last edited by ChipJohns : 05-16-2006 at 01:31 AM.
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 05-16-2006, 05:23 AM Re: "Mailto Subject line" question.
chrishirst's Avatar
Super Moderator

Posts: 11,767
Location: Blackpool. UK
sounds like this should be in the ASP forum.

depending on the component you are sending mail with it will be something like,

objMail.Subject = request.form("subject_field")
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-16-2006, 10:27 AM Re: "Mailto Subject line" question.
WSKeaton's Avatar
Junior Talker

Posts: 4
Location: Washington
Well, it's currently only sending plain text from the form to an email address. There's no sever side processing. Not sure if that's the correct terminology.

So far I've only learned enough scripting to get me this far. Maybe I need to move this to another forum?
WSKeaton is offline
Reply With Quote
View Public Profile
 
Old 05-16-2006, 02:43 PM Re: "Mailto Subject line" question.
ChipJohns's Avatar
I don't know! Do you?

Posts: 477
Name: Chip Johns
Location: Savannah Georgia
WS,

<form name="formName" method="post" action="What is the name of this file?">
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 05-16-2006, 05:55 PM Re: "Mailto Subject line" question.
WSKeaton's Avatar
Junior Talker

Posts: 4
Location: Washington
Thanks for the welcome before earlier,

It's currently setup as <form name="formName" method="post" action="mailto:me@company.com?subject="web account request".

I'm trying to configure the subject line to pull from a form field that the user has entered data in.
WSKeaton is offline
Reply With Quote
View Public Profile
 
Old 05-16-2006, 08:51 PM Re: "Mailto Subject line" question.
ChipJohns's Avatar
I don't know! Do you?

Posts: 477
Name: Chip Johns
Location: Savannah Georgia
As I am understanding is that you want to replace the "web account request" with inormation that comes from one of the form input fields.

I don't believe it can be done. I don't know how and I haven't been able to find any references to it WS. What kind of server are you using? Windows or Apache? You can find a script that you can easily adapt to use for this. Either asp, or php, or cgi if neither of these are available..

Find out what kind of server you are using and what server side applications are running on it. Then we can take it from there..
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 05-17-2006, 12:47 AM Re: "Mailto Subject line" question.
WSKeaton's Avatar
Junior Talker

Posts: 4
Location: Washington
Yes, I'm currently in a windows AD environment, but do not have any type of server admin access.
WSKeaton is offline
Reply With Quote
View Public Profile
 
Old 05-17-2006, 09:45 PM Re: "Mailto Subject line" question.
kIDJOE's Avatar
Extreme Talker

Posts: 180
Location: Hollywood, CA
I don't understand very well what you are trying to do, to me it seems that you want to be able to modify the subject according to the party where the email is being sent to or the topic the sender is trying to reach, for this you can use an extra field on your contact form a SELECT tag (drop down menu) with different OPTIONS, each one containing the line of Subject you wish to receive upon your client (end user) choice. and you just pass it with a little JavaScript to your ?subject= line

Something like ?subject=document.FORMNAME.SELECTNAME.value

This should change the subject text.
__________________

Traffic School - Driver Ed - Defensive Driving
Statistics: The only science that enables different experts using the same figures to draw different conclusions.

Driver Education Online - Online Traffic School - Texas Defensive Driving
kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Reply     « Reply to "Mailto Subject line" question.
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.16099 seconds with 13 queries