Confirmation Page
I'm trying to pull information entered from a form that uses a standard formmail.asp script to generate an email to a specified recipient. That part of the form works just fine and all the fields show up properly in the email.
I'm trying to figure out how to place the form fields into a confirmation/thank you page. I've inserted <% Request.Form("name") %> into the Confirmation Page hoping that it would display: "Thank you <name> for completing the form," but of course it doesn't display the <name>. I think it is because my confirmation page has no way of calling to the actual form field entries but I'm so new to asp that I do not know how or if this is the issue.
View Replies
ADVERTISEMENT
In my ASP page i have the following:
Next
objEmail.SendMail
If Err.Number <> 0 Then
Response.Write "The following error occurred: " & Err.Description
Else
Response.Write "A quotation request has successfully been sent, thank you."
End If
The thing is that the confirmation page looks so dull with just a line of text at the top. I want to add my logo and other things.
Can I just start using html or can I direct to another confirmation page?
View Replies
View Related
I am passing variables around from page to page using the following:
../new.asp?Info=stuff&name=Fred
then re-capturing it with:
<% 'Get the users info passed from the previous page
strUserInfo = Request.QueryString("info") %>
strUserName = Request.QueryString("name") %>
I use that info to personalize pages:
Hello <% strUserName %>, glad you are back to work on your <% info %>.
This works great for pages/forms that only update a record or display the strings, but the problem I'm having is with a form that creates a brand new record using the passed data.
I use hidden inputs into the new record so that the user does not have to re-enter it but when they hit submit Front Page posts a confirmation page with a link to return to the same form. I need to change that link but cannot figure out where the confirmation page is generated.
View Replies
View Related
I have a page called Closer.asp where the closer fills the details and hits submit.After he hits submit an email goes to him with all the details he has filled.
Also it takes him to the next page where i want to display his all details properly .
How should i get all his details and display on the next page.I tried Request.Querystring but all the date is getting displayed in one line and i want it to be in more formatted look.
View Replies
View Related
Is this right? I'm trying to email the username and password fields to the user once he/she has signed up. this doesn't seem to work- it seems to take issue with the first line for some reason. Is there another way to return email?
Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.To=Response.Write(Email)
Mail.From="testing-my@SP-Script.com"
Mail.Subject="Welcome to MEDIADDICT!"
Mail.Body="Welcome to MEDIADDICT. Your Username is: " + Response.Write(UserID) + " and your Password is: " + Response.Write(Password) + "."
MailUser.Send
Set Mail=nothing
View Replies
View Related
does anyone know how to confirm verisign csc (security number) ?
currently i have a site that sends this information to verisign but I dont know how to
confirm it so if someone puts a wrong number, after the JS validation, it is still going to take that number.
View Replies
View Related
When the customer orders the item and completes the transaction I would like to send them and the retailer an email confirmation. Here is my problem, I would like to send the confirmation mainly in HTML format.
However, I also realize that some email programs do notaccept HTML format and in that case I would like to send it in TEXT format, how do I let the ordering system make the automated choice without the user selecting it?
I see that when I order things online, some of those stores will send a HTML cofirmation without me selection the format (newegg, amazon etc...), how is that done?
View Replies
View Related
I have a small shop on my web site and you order the products via a simple form. As an owner of the site, I want the order confirmations to be emailed to three email addresses, two adresses of mine plus one email to the person whoplaced the order. I donīt know how to fix this in the code though and that is my problem.
I can easily arrange for two of the addresses to get emails via the objMail.To command, so itīs when I try to add the buyers email that it gets weird.
That email address, Iīm getting through the form and the name tag "Emailaddress".
I tried to use the commands objMail.Cc and objMail.Bcc, but nothing happend and then I still only got emails sent to the addresses that I put in at the line objMail.To. Below is as far as I have gotten. If I put the three addresses like that and separate with a "&", I got all three email addresses right, but no space between them. So do you have any ideas on what character to use, to split these three addresses so that an email can be sent to all of them? Code:
View Replies
View Related
Does anybody knows is there any kind of asp mail script (CDO prefered) that will, when i send newsletter, send back to me confirmation from server that email has arrive?
View Replies
View Related
I wrote an ASP prgram to insert a row into a MySQL database using data from a form. It works just fine, however is there a way to check a return code and trap any error that may occur (duplicate row error for example) so I can format and display a message in the browser instead of having the error just show up?
I've been looking in my ASP & MySQL books and searching on the web but can't find anything that sounds like what I want to do.
View Replies
View Related
I need to know how i can set up a form submitted, that will link to a confirmation page on my website, rather than showing results of what the user filled out... this is bugging me so much....
View Replies
View Related
Most sites just don't complete the registration process until the email sent has been clicked, sending confirmation of the email. how to Add auto email confirmation after people have registered, so when people have registrated, an email should be sent to their email account while another email be sent to xyz@xyzcompany.com
And in the email sent to people who just registrated, i need to provide a link for them to click to activate their account.
View Replies
View Related
I have a Frontpage-ASP form that allows users to add their names to a database and indicate their interests for a newsletter that I do. I want to send a confirmation email from my system account when they submit the form. I don't want to use their SMTP because I also want to see what bounces from the address submitted. Frontpage does not allow sending to email and to a database at the same time.
View Replies
View Related
I have made a booking system, but need to somehow generate a unique confirmation code to be sent to the bookee to confirm the booking. I hve done a basic Google search, and a search through the archives of the forum, but to no avail.
View Replies
View Related
I'm using CDO mail in my asp scripts, and I need to find a script that whereas a user signs up for your website.
when he hits submit,an email goes to his email box with a confirmation link for him to click so to ensure he has a valid email address. Does anyone know of a package or series of scripts that works with this?
View Replies
View Related
How would I add a delete confirmation popup box for the following? Here's what I have... A table (not a form) that contains this line: Code:
View Replies
View Related
tell me in a ZIP or upload the code to a simple system that:
uses an access database and:
Allows someone to signup.
Get a confirmation email
Login
And for them to be able to change their password from a page.If it is possible could you please make it so that it says "you are logged in as" and gets something form the access database like their email address or username.
This is just so that I can see how to link all of the code and learn some of the language so I can help people in the future. This code that hopefully will be provided wont be sold given away or used commercially.
View Replies
View Related
I have a form where the visitor should enter the e-mail adress, a password and some additional info. When the form is submitted I want to automatically send a confirmation e-mail to the visitor, containing the information from the form (like the procedure when joining this forum :-)). Is it possible to achieve that with ASP? Would be very grateful if anybody can finish the code below... because I don't know how to handle the variables after I have retrieved the form info..
This is enterinfo.htm.....
View Replies
View Related
I have a form where a visitor can enter som information, in this case the e-mail adress, password and some additional info. As soon as the form is submitted I want to send an automatically generated e-mail confirmation to that user's e-mailadress (like the procedure when joining this forum for the first time). When I have retrieved the info from the form in the "confirm.asp" I don't know what to do....
View Replies
View Related
I created a web page from Excel2000, using "Save as web page..."...Publish
function. then, I moved htm file to my IIS web server. Then I added a form control, and submit button.
How can get the data on the excel file using ASP from server side?
For example, the value of Cell(1,2), Cell(2,3)....
View Replies
View Related
What I want to be able to do is create a user control that will display an
entire page page within it. Does anyone know how to do this or better yet
have any same code?
View Replies
View Related
I like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.
Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code:
View Replies
View Related
I have an ActiveX control in my ASP page that has not been signed yet, so currently just for testing I set the Security for Intranet to "Low". When I run the ASP page on my machine (the IIS is in my machine), I have no problem, except the page prompted me with "An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction?"
But, when I run the ASP page on another machine (even though the other machine is also a development machine that already has the ActiveX control and I set the Security for Intranet to "Low"), it did not prompt me the above message, and I got an error when accesing any method of the AX control (e.g Object doesn't support this property or method 'myAXControl.method').
Is this because I have to create a CAB file and mark the AX control as safe for scripting ?To create a CAB file for this AX control, do I need to create my own VB AX
Control project that contains this control and then create a cab file for this VB project ?
View Replies
View Related
This is a standard ASP application that has several pages at the root
withthe global.asa. I set a session variable session("accountid") =
"123456" within an asp page and then response.redirect to the next page and
immediately response.write session("accountid") and I get back nothing.
But if I set a session variable session("accountid") = "123456" within an
asp page and response.redirect to a page in a sub directory and immediately
response.write session("accountid") I get back 123456 on the screen.
View Replies
View Related
I am having a problem with a site that I am developing - my aim is for it to validate as XHTML Strict however, I am running into a couple of problems validating it; in my Response.Write ASP script, I am not including " 's to define page element tags as they keep throwing up errors in the page. Code:
View Replies
View Related
I've a strange problem with Windows Vista, running an ASP page on local
machine (http://localhost/test.asp), the page does not give me any error but
the asp code is not executed (simple code : <% response.write("hello") %),
it show me a blank page, I think I've put all the setttings correctly, but
maybe I must do something obvious to fix that.
View Replies
View Related
I encounter a page reload situation in ASP. It is I need a way to differentiate whether the current page - "Application_Result.asp" got reloaded itself when user click on the browserRefresh button or is requested by the previous page "Application_Form.asp".
I tried using
<%if Request.ServerVariables("REQUEST_METHOD") = "POST" then%>
<!--it is requested from "Application_Form.asp, do something-->
<%else%>
<!--Application_Result.asp refreshed itself(such as user clicks on the
browser Refresh button, do something else-->
<%end if%>
However, in both cases, the IF statement above all evaluated as true. how to differentiate this two different behavior (Page Refresh versus Page requested by another Page) ?
View Replies
View Related
I have page for user to update his/her details. What i want is after idle for more than 20 mins, the page will redirect to login page automatically. So that the user knows that his/her session already expired and need to login again.
But it doesn't working. This is because if he/she update the details (after idle more than 20 mins), and click the Submit button, it will go to login page and all the data will be lost. Code:
View Replies
View Related
I am working with a developer, on two portions to a site, he is working in PHP and my work is done in ASP.
Is it possible for my pages to request data from a cookie that was written by his pages that are PHP but residing on the same server? Just want to make sure before I spend too much time planning out the development on my end.
View Replies
View Related
I have an application which allow users to search our database. Quite a lot
of search fields pull data from other tables. I don't want to populate the
dropdowns (total 14 of them) from the database everytime as it slow the page
load.
Instead I would like to have a link next to the text field which a
user and click and the choices can be displayed and whatever the user click
in the pop up I want to transfer it to the text box and close the popup.
For example there is a Textbox called country. The user can either type in
the country name or click on the link which will pull all the countries from
table in the database and which ever country user selects, the textbox is
popluated with the country name and the pop up closes automatically. Code:
View Replies
View Related
I'm trying to write an asp page line by line, as one would create a
text file, only my file will end in .asp.
One line simply writes a close ASP code tag, or
FILECONTENTS=FILECONTENTS & "%>"
When this line processed, an error occurs saying that the string was
never terminated because the asp page attempting to write this line of
code to a NEW asp page reads that close ASP tag (%>), as an actual
close asp tag for itself, instead of a STRING value.
How do I write this %> symbol to a new asp file, while still
maintaining its purpose to close a group of asp code in the newly
created page?
View Replies
View Related
This is my coding:
window.opener.location.reload(); window.close();
I don't want the IE to pop up the alert msg to false retry or cancel to reload the page.
I have tried:
1. window.opener.location = window.opener.location
2. window.opener.history.go(0)
But as i carry some data from previous previous page, when i use (window.opener.location = window.opener.location), it can't capture my data as it just load the page. It will pop up error as no data captured :
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: ""]'
Any suggestion?
View Replies
View Related
I am looking for a way to pass an ADO recordset that has been retrieved in
an ASP page to another HTML-page. Is there someone who can provide me with a
small sample or a link to see how this is done?
View Replies
View Related