Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 13th, 2005, 01:13 PM
sschlager sschlager is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 2 sschlager User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m
Reputation Power: 0
VB ASP Form Problems

I am trying helping out some folks redesign there website. The person they had before wrote a asp form, but it has some issues. If you do not fill in all the fields before you hit submit you recieve a page could not be found error. If you fill out all the information you get the thank you page and the form is sent. Does anyone know how to fix this?

The form is located at http://www.roassociates.com/teste/signup.asp

Thanks,

Shaun Schlager

Reply With Quote
  #2  
Old October 13th, 2005, 01:21 PM
mehere's Avatar
mehere mehere is offline
Senior Sarcasm Wizardess
Click here for more information.
 
Join Date: Feb 2005
Location: Dreamland
Posts: 12,867 mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 10976 Folding Title: Novice Folder
Time spent in forums: 4 Months 4 Weeks 15 h 20 m 54 sec
Reputation Power: 1762
you need to post the code for the signup.asp page ... and possible the thankyou page as well.
__________________
Come JOIN the party!!!

Quote of the Month:
Retirement: Because you've given so much of yourself to the company that you don't have anything left we can use.

Questions to Ponder:
What do you do when you see an endangered animal eating an endangered plant?

iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm")
copyright© 2008 sbenj69

Reply With Quote
  #3  
Old October 13th, 2005, 01:37 PM
sschlager sschlager is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 2 sschlager User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m
Reputation Power: 0
The only page that has any asp code on it is the thank you page. we used to have asp code on the sign up page and removed that. Anyway here is the code for the thank you page.
<script language="VBScript">

<%
Dim Company, Purchaser, address, city, state, postal, phone, email, CourseID, seats


'actual variables of the form are designated here
Company = Request.Form("Company")

Purchaser = Request.Form("Purchaser")

address = Request.Form("Address")

city = Request.Form("City")

state = Request.Form("State")

postal = Request.Form("PostalCode")

phone = Request.Form("Phone")

email = Request.Form("Email")

CourseID = Request.Form("CourseID")

seats = Request.Form("seats")



'now the actual form activation is created



Set objCDO = CreateObject("CDO.Message")


objCDO.To = "sschlager@transtector.com"

objCDO.Cc = ""

objCDO.Sender = email

objCDO.Subject = "ROA Course Online Registration"

objCDO.TextBody = "Company: " & Company & vbCR & _
"Purchaser: " & Purchaser & vbCR & _
"Address: " & Address & vbCR & _
"City, State, Zip: " & city & ", " & state & " " & postal & vbCR & _
"Phone: " & phone & vbCR & _
"Email: " & email & vbCR & _
"Number of Seats: " & seats


objCDO.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objCDO.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "10.225.225.241"

objCDO.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objCDO.Configuration.Fields.Update


objCDO.send


set objCDO = nothing


%>
</script>


Hope this is okay. Sorry not really a programmer.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > VB ASP Form Problems


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 5 hosted by Hostway
Stay green...Green IT