ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 1st, 2003, 07:52 AM
Dave Bloor Dave Bloor is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 1 Dave Bloor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Form help

I have a page where users enter there info to be contacted. on submit it sends it a a page with cdonts configured, this bit works fine.

How do I get the cdont mail page to read the info from the previous page, I have tried request.form but I don't seem to be able to get the syntax correct.

I am new to coding so your help would be greatly appreciated.

Reply With Quote
  #2  
Old May 1st, 2003, 09:38 AM
numbernine numbernine is offline
Up To His Eyes In Ads
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Chicago
Posts: 160 numbernine User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 25 sec
Reputation Power: 7
Request.Form should do it, with the field name in quotes and parens behind it.

On the first page, make sure the form's "action" points at the second page.

<% ' page 1 %>
<form action="mycdonts.asp" method="post">
<input type="text" name="myName" value="myName" />
<input type="submit" name="btnSubmit" value="Submit" />
</form>

<%
'mycdonts.asp

Response.Write(Request.Form("myName"))


%>

Reply With Quote
  #3  
Old May 3rd, 2003, 10:26 AM
aspnewbie aspnewbie is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: The Great White North
Posts: 361 aspnewbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 50 sec
Reputation Power: 7
Send a message via MSN to aspnewbie
so long as the method for the form is "post", a request.form will work.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > Form help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT