Re: Adding form input values to subject line in email sent

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



If using the FPextensions to process the form, you can set the Subject
in Form Properties to use a field (which may be a hidden field) in the
form. Then use JavaScript to concatenate values from other fields
into this; the JavaScript may be triggered by an onclick event on the
Submit button, or by an onsubmit event in the <form> tag (though this
will interfere with any FP validation, if used).
Note that there is a limit to the total length of the field (255
characters), but IMO the subject should be much shorter than that
(unless the email is read by machine rather than people).
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

"Jason" <Jason@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BBC942C0-CF76-4A95-A9E0-38AEDC290D34@xxxxxxxxxxxxxxxx
> Is it possible to add multiple values from the form you are sending
> in an
> email ?


.



Relevant Pages

  • unobtrusve Javascript allows parameters from HTML inputs how?
    ... Prototype and Tooltips are created by two different Javascript ... // of the element whose onclick event we are adding to. ...
    (comp.lang.javascript)
  • Re: How can I get the user DateTime
    ... Ge information about the client's time through javascript and insert ... this into a hidden field. ... When I get a request how can I get the user's local DateTime? ... is there any way to set IE to have a different timezone than my ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Is there a way to tell why a form is closing?
    ... template form with my form design - the close button is one control I have on ... First, in the form properties, on the FORMAT tab, set the "Close button" ... Then add a button control to the form. ... OnClick event that does as you suggested. ...
    (microsoft.public.access.forms)
  • Re: Can I execute a javascript action before uploading a file?
    ... of javascript. ... By default an ASP:Button object can fire an OnClick event to call a ... function back on the server side. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: POST Redirect to another Site
    ... JavaScript to the client. ... I write a Hidden field to the Form. ... completely different web server over which I will not have control in the ... "Validation of viewstate MAC failed. ...
    (microsoft.public.dotnet.framework.aspnet)