|
|
 |
Re: FN-FORUM Stupid ASP Question...:)
date posted 22nd July 2001 14:25
in addition to what damien said:
your not actually creating any form fields in the form which mails to you.
when you submit a form it takes all the data in the actual fields and passes
them over to watever you've placed in the action - so in this case you get
on this page it will write out the name, icq, etc. but when you press submit
the only form field is the submit button, hence the value passed over. if
you follow what damien has wrote the information from the previous page is
passed to this page, stored in form fields, and when submitted will pass all
the relevant info over.
heres a couple of other ways you could do it as well:
this way makes for smaller code
Hi All,
>
> I am a newbie to ASP, and am having a little, stupid no doubt, problem.
>
> I have the following form, with the code below, and I am requesting data
> submitted on the previous page. Basically this is to just confirm
everything
> is correct, before it is sent to me. However, with the following code, I
> only see "Submit=Submit"in the mail sent to me, and I am unsure of how to
> get the form to include the data in the mail that is sent to me?
>
> TIA
>
> Matt
> ---
> Dim strYourName, strYourICQ, strSquadName, strSquadWebsite
> strYourname = Request.Form("YourName")
> Response.Write ""
> Response.Write ""
> Response.Write "Name: "
> Response.Write ""
> Response.Write strYourName
> strYourICQ = Request.Form("YourICQ")
> Response.Write ""
> Response.Write ""
> Response.Write "ICQ: "
> Response.Write ""
> Response.Write strYourICQ
> strSquadName = Request.Form("SquadName")
> Response.Write ""
> Response.Write ""
> Response.Write "Squad: "
> Response.Write ""
> Response.Write strSquadName
> strSquadWebsite = Request.Form("SquadWebsite")
> Response.Write ""
> Response.Write ""
> Response.Write "Squad Website: "
> Response.Write ""
> Response.Write strSquadWebsite
>
>
>
>
> %>
> ---
>
> -------------------------
> Matt Russell
> http://www.i-fire.co.uk
> i:fire digital media
> -------------------------
>
>
>
> ============================================================
>
> * Free listing for freelancers
> * Free to advertise jobs
> * Free jobs distribution service
> * Free database of 1000 freelancers
>
> Freelancers and Freelance Jobs
> http://www.freelancers.net
>
> To post to the Forum:
> [EMAIL REMOVED]
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>
> To subscribe to the digest for this list or for further information please
visit:
> http://www.freelancers.net/forum.html
|
 |
|