PC Review
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
Emailing Form results
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
Emailing Form results
![]() |
Emailing Form results |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#4 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#5 |
|
Guest
Posts: n/a
|
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 > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

