PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage Emailing Form results

Reply

Emailing Form results

 
Thread Tools Rate Thread
Old 15-02-2006, 03:07 PM   #1
=?Utf-8?B?QXJ0?=
Guest
 
Posts: n/a
Default Emailing Form results


When setting up to email Form results, you can either set up the subject line
to be either a form field name or a standard line.

Is there anyway to have both? In other words, I want my subject line to say
"printed material order" and have the date needed by from that field on the
form?

I tried using the field name with text followed by both ' and an " and
neither worked.

Thanks
  Reply With Quote
Old 15-02-2006, 03:11 PM   #2
Thomas A. Rowe
Guest
 
Posts: n/a
Default Re: Emailing Form results

You are limited to the options available when using the FP Form Handler.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"Art" <Art@discussions.microsoft.com> wrote in message
news:1E72F1EB-0A52-468E-AC85-59E4E66AF742@microsoft.com...
> When setting up to email Form results, you can either set up the subject line
> to be either a form field name or a standard line.
>
> Is there anyway to have both? In other words, I want my subject line to say
> "printed material order" and have the date needed by from that field on the
> form?
>
> I tried using the field name with text followed by both ' and an " and
> neither worked.
>
> Thanks



  Reply With Quote
Old 15-02-2006, 03:15 PM   #3
Murray
Guest
 
Posts: n/a
Default Re: Emailing Form results

You would have to hand code the server scripting for it.

<% EmailSubject='printed material order - needed by ' &
request.form("drop-dead-date") %>

or something like that (assuming the date field had that name, and that the
form is submitting to this page, and that you are building the eventual
email subject line in a variable called EmailSubject).

--
Murray
--------------
MVP FrontPage


"Art" <Art@discussions.microsoft.com> wrote in message
news:1E72F1EB-0A52-468E-AC85-59E4E66AF742@microsoft.com...
> When setting up to email Form results, you can either set up the subject
> line
> to be either a form field name or a standard line.
>
> Is there anyway to have both? In other words, I want my subject line to
> say
> "printed material order" and have the date needed by from that field on
> the
> form?
>
> I tried using the field name with text followed by both ' and an " and
> neither worked.
>
> Thanks



  Reply With Quote
Old 16-02-2006, 09:04 AM   #4
Stefan B Rusynko
Guest
 
Posts: n/a
Default Re: Emailing Form results

Use javascript
Create a hidden form field named say: subText
- has your fixed text string in it
<input type="hidden" name="subText" value="printed material order ">
And another one named say: subject
- that is the one you reference in your form properties
<input type="hidden" name="subject" value="">

If your form field w/ the date is a textfield named say: theDate
- add an onchange event to it to concatentate the hidden filed w/ the date field
<input type="text" name="theDate" value="" onChange="this.subject.value=this.subText.value+this.theDate.value";>
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontP...53/Default.aspx
_____________________________________________


"Art" <Art@discussions.microsoft.com> wrote in message news:1E72F1EB-0A52-468E-AC85-59E4E66AF742@microsoft.com...
| When setting up to email Form results, you can either set up the subject line
| to be either a form field name or a standard line.
|
| Is there anyway to have both? In other words, I want my subject line to say
| "printed material order" and have the date needed by from that field on the
| form?
|
| I tried using the field name with text followed by both ' and an " and
| neither worked.
|
| Thanks


  Reply With Quote
Old 16-02-2006, 11:15 AM   #5
Murray
Guest
 
Posts: n/a
Default Re: Emailing Form results

THAT'S THE ONE! 8)

Good suggestion....

--
Murray
--------------
MVP FrontPage


"Stefan B Rusynko" <sbr_enjoy@hotmail.com> wrote in message
news:eOeCwBuMGHA.984@tk2msftngp13.phx.gbl...
> Use javascript
> Create a hidden form field named say: subText
> - has your fixed text string in it
> <input type="hidden" name="subText" value="printed material order ">
> And another one named say: subject
> - that is the one you reference in your form properties
> <input type="hidden" name="subject" value="">
>
> If your form field w/ the date is a textfield named say: theDate
> - add an onchange event to it to concatentate the hidden filed w/ the date
> field
> <input type="text" name="theDate" value=""
> onChange="this.subject.value=this.subText.value+this.theDate.value";>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.frontpagemvps.com/FrontP...53/Default.aspx
> _____________________________________________
>
>
> "Art" <Art@discussions.microsoft.com> wrote in message
> news:1E72F1EB-0A52-468E-AC85-59E4E66AF742@microsoft.com...
> | When setting up to email Form results, you can either set up the subject
> line
> | to be either a form field name or a standard line.
> |
> | Is there anyway to have both? In other words, I want my subject line to
> say
> | "printed material order" and have the date needed by from that field on
> the
> | form?
> |
> | I tried using the field name with text followed by both ' and an " and
> | neither worked.
> |
> | Thanks
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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