|
 |
asp_web_howto thread: Problems posting asp to htm
Message #1 by "Tracey" <saunders@p...> on Fri, 20 Jul 2001 16:24:46
|
|
I have an ASP page that returns values from a Database (using frontpage
2000). I want the results to be posted to a feedback form with the
ability to e-mail.
I have found that to retrieve the data it has to be a asp, but to e-mail
the form must be a HTM.
I am really new to asp and would appreciate any help given.
Message #2 by Greg Griffiths <griffiths@x...> on Fri, 20 Jul 2001 22:52:10 +0100
|
|
Tracey,
what you have is basically correct, although what you need to
realise is that what you return from an Active Server Page (ASP) is
normally HTML, which will allow you to use the mailto: command within what
you return from the ASP.
However, for complex email's - for example where you have a set subject,
multiple people, attachments etc, we would strongly advise that you submit
it back to the sever and handle this server side.
At 16:24 20/07/01 +0000, you wrote:
>I have an ASP page that returns values from a Database (using frontpage
>2000). I want the results to be posted to a feedback form with the
>ability to e-mail.
>
>I have found that to retrieve the data it has to be a asp, but to e-mail
>the form must be a HTM.
>
>I am really new to asp and would appreciate any help given.
>
>
Message #3 by "Saunders, Tracey" <saunders@p...> on Mon, 23 Jul 2001 04:27:20 -0400
|
|
Greg,
Thanks for the Reply. I'm very new to the asp, so please excuses my
ignorance:
My site is using Frames. I call the first results from the database,
then
hyperlink to the second form by using the
Library_Sites.asp?Site_ID=3D<% If Not IsEmpty (fp_rs) and not (fp_rs
is nothing) then response.write CSTR(fp_rs ("Site_Id")) %>
In the Hyperlink field:
The sites form returns any matching values and has a criteria of
site_id =3D
Library_Categories.site_id.
When i put a submit button on the Library_Sites form, the code is as
follows:
--------------------------------=09
<table BORDER=3D"0">
<tr>
<td><b>Site_ID</b></td>
<td><input TYPE=3D"TEXT" NAME=3D"Site_ID"
VALUE=3D"<%=3DRequest("Site_ID")%>"
size=3D"20"></td>
</tr>
</table>
<br>
<a href=3D"Request_Items.htm?Site_ID">
<input TYPE=3D"Submit"></a><input TYPE=3D"Reset">
-----------------------------
The form i want to return is the Request_Items with the Site_ID on the
form
(Note: This is a HTM form and i have a field called site_Id). I have
yet
to create any values in the Site_ID field on the request_Items form.
Can you tell me where i am going wrong. It seems that the HTM form
does not
return the Site_Id variable!
Please help
Regards
-----Original Message-----
From: Greg Griffiths [mailto:griffiths@x...]
Sent: 20 July 2001 22:52
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Problems posting asp to htm
Tracey,
what you have is basically correct, although what you need to
realise is that what you return from an Active Server Page (ASP) is
normally HTML, which will allow you to use the mailto: command within
what
you return from the ASP.
However, for complex email's - for example where you have a set
subject,
multiple people, attachments etc, we would strongly advise that you
submit
it back to the sever and handle this server side.
At 16:24 20/07/01 +0000, you wrote:
>I have an ASP page that returns values from a Database (using
frontpage
>2000). I want the results to be posted to a feedback form with the
>ability to e-mail.
>
>I have found that to retrieve the data it has to be a asp, but to
e-mail
>the form must be a HTM.
>
>I am really new to asp and would appreciate any help given.
>
>
|
|
 |