Frontpage E-Mail Message Header subject line

  • Thread starter Steven Tisseyre
  • Start date
S

Steven Tisseyre

When using Front Page to compile an on-line form for e-mail submission, is
it possible to define the email subject header with predefined text and text
from one of the from fields.

For example, i'm aware you can choose the predifed text by placing this
with-in FORM PROPERTIES then OPTIONS and EMAIL RESULTS then placing hte
predefined text with-in the e-mail message header subject line, or ticking
the Form Field Name and then placing the Field name in the box instead, but
is it possible to use a combination of both.

So if someone places their name into one of the Form Field entitled NAME
then when you receive a submitted form by email the header will read
something like ENQUIRY FROM 'NAME'.

Can anyone help??

Many thanks,

Steve.
 
F

FrontPageForms

Hi Steven,

As far as I know, you can't do this with the FrontPage form handler. I have
played around trying to get this to work myself without success.
 
R

Ronx

You could use JavaScript to modify a hidden field. Something like (not
tested, probably contains errors :( ):

<script>
function SubjectChange() {
var d=document.forms.formname;
d.subject.value = "Enquiry from:" + d.NAME.value;
}
</script>

and in the form

<input type="text" name="NAME" onchange="SubjectChange()">
<input type="hidden" value="Web Enquiry" name="subject">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top