|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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. |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > VB ASP Form Problems |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|