Click to See Complete Forum and Search --> : form handler


discdemo
02-28-2009, 08:03 PM
Hi. I am a frontpage user that is one step from reaching my objective of emailing a form to an email associated with an ID that is passed from another asp.

I am a novice, of course, so that confirmed...

I went thru the asp form email tutorial on this site...you know, how to add asp to a form page and send it to recipient(s)...

issue is...i can't seem to use what I want to, which is the "<%=Email%>" type of field. I also tried <%=FP_FieldLink(fp_rs,"Email Address")%>, which is actually the way it is on my other pages to display the email address.

I am linking to this asp form from an asp and I guess tying thing sin with this:

<%
ID = Request.Querystring("ID")
%>

Being a rookie, I need some help to knwo if i'm on th eright path and how I can force the form to go to the email address of the id of the person that is passed along from my little access db, using the frontpage results wizard. Everything else look great, it's just this last step in making a smart form so that each unique id in my db can get the form results to thier own email address.

Thanks, in advance, for any lifelines.

jz

Kuriyama
03-02-2009, 02:29 PM
Most likely your ID querystring variables is getting killed when you submit the form, but I don't know without code to look at.

Do this right after the form tag.

<input type="hidden" name="ID" value="<%=Server.HTMLEncode(Request("ID"))%>" />

discdemo
03-07-2009, 05:02 PM
Here's the code...without having added your suggestion, yet. The form contains the <%Email%> edit someone told me to add to the web bot, but the deal is that it started as an html file and form, but to pass the strings from the previous pages, using ID, I was told to make the form page an asp.

Anyhow, here's how the page looks. I added that asp at the top and I guess I would now need to remove the form web bot stuff? How would you suggest I clean this up and send the form results to the person whose id was passed?

Do you need any other info? Thanks for any feedback. I'm learning, obviously.