I have an input type text in my 1st asp page....when i go to the 2nd asp page i want to retrieve my textbox value in my previous page...i know how to do this with a form...i want to do it in another way, is that possible?
So I thought that the code up in the header doesn't "see" the textbox, because as I dimly understand it, the textbox is client-side and the script is server-side. So then I thought I should put the same line down in the html where the form is defined (enclosed in <% tags). But that triggers an error because the code down there doesn't seem to know what response.form is anymore! I tried using a variable as a go-between, but it didn't change the results.
So how in the world do I get my incoming parameter (whether form or query string) to go and live in a textbox in the target page? I need it there (don't I?) so that I can later pass it along to page three (among other reasons).
In short, I can get strings passed from page 1 to page 2, but then page 2 doesn't seem able to put them into controls or pass them along to page 3.
I have scoured google and forums and seen some responses that involve about 30 lines of code (which I don't understand). Surely it can't be that complicated to pass a string from page 1 to page 2 and then have it available to pass along to page 3.
I created a database in MS SQL 7.0 called "DBSupply".It has a table called "product". The table has two columns Named "DateSupplied" and "productSuppiled".
On my Supply.aspx page, I have a textbox, Search botton and a datagrid.
how do i construct my sql query on the supply.aspx page so that when i type a specific date(e.g 2/2/2005) and click search botton. in the textbox it will display date and the productsupplied on that date on my datagird.
I dont know which SQL query to pass from the web page, that will help me retrieve information from the database based on the data i type in textbox.
I am using a Text Editor(Note Pad) and VB as language.
I have to use the nl2br function in the asp file, luckly I got this code from a site. What I need to do is literally extract the information from a textbox exactly as it is i.e.
the paragraph breaks, the formatting (which I have specified) but most importantly I need to extract the formatting the way it is. When one copies and pastes text in the textbox it extracts the data as an entire paragraph. Code:
I have a form that has a table that contains a textbox where the user inputs a part number. Depending on what the user enters, when the user tabs to the next textbox, I want it to go to the database and search for the number that was entered.
If found, I want it to populate other textboxes with information found for that item in the database. How can I accomplish this??
I am quite new to using asp. I want to use it on a website to send email from a form. I Found the following code on a website to help me. I have a local SMTP server installed. I have attempted to run this test form in a browser but i am getting the following error message.
It seems that my email form is working correctly but I dont receive an email. I look into the mailroot/Queue folder and see the emails. For some reason the emails are not being sent off. I dont think its a problem with my email form... I think its a server configuration problem.
How can I send the same form inforamtion to two different URL's while only redirecting to one URL.For example, I send the info from a form to page1.asp and page2.asp, but the page redirects to page2.asp?
I'm working on a website project for one of my senior design classes at my university, and I've run into some trouble. Unfortunately, my professor for which I'm doing the project has no real web experience. (Which is extremely aggrevating, since I'm trying to teach myself alot of things over my head)
I've created a form on my site, and I want to receive an email of user's inputs when they hit the submit button.
Is there an easy way to use a form and send the info to an email address using ASP? I have tried using some free scripts but they don't want to work for me.
I am getting an error message that the form is empty. Maybe it would be better to program something from scratch.
I copied a CDONT form from a simple request page I use on another web-site and made it more complex (or simply longer), but I am not receiving the emails anymore.
It takes the form and moves on the request received page without any errors, but the email never arrives I changed the email and I moved the form to a different server to no avail.....
I am working on a little project and my knowledge of .asp is very small. From what I am looking at it looks like my form should be sending correctly. Can anyone help me out w/ some code for an sendfile.asp that could send this form information to an email address?
I am copying the exact html from the page onto here...sorry if its a little long its really only like 6 different inputs....
I've been asked to take data from a form and then send it to a vbscript. The client has made a vbscript that performs a calculation (i haven't been told a great deal about it yet) and now they wish to put it online, so that when a user enters data into a form, it sends the data to the relevant fields in the vbscript.
I don't know a great deal about Visual Basic, so if anyone could explain how i might be able to go about this ..
I was able to send an email from a Flash form but I'm having trouble with my html form. The Flash form was sent using the DONTS mail for ASP. Can anyone show me how to send an email using DONTS for the mailform? Code:
i have fixed my code and there was no error at all, it executed well and the msg "The quote has been sent" appeared. But although it was working, but it seemed that it didn't really sent the Firstname and Address to the email. Why? here's my code :
Im doing an asp.net-application where we have an external asp-form in a iframe on the mainpage. On submit, the form sends its data through method="get" to a page with a frameset (i couldnt get the data through POST).
In the framsetpage, the data is receieved in the frameset and then sent to the lower frame through querystrings. The lower frame is also an external asp-page.
My problem is this, the .NET-platform is using utf-8 and some other way of URL-decode things then the old platform did. So for example the swedish letter 'Ö' is in .NET URLdecode '%c3%96' and in the old asp-way '%D6'. The asp-page has no idea what '%c3%96' means so the formdata is a bit corrupted on arrival.
What i was wondering is if there are any ways of convert the new way of urldecode strings to the old way? Preferably in C# since thats the site's main programming language.
I am trying to send an email attachment using an asp VBscript from a .asp form. The script appears to be working fine however no email comes through to the recipient. I have tried the script without the attachment and it works fine. Code:
I'm developing a service request form for our intranet that will send out an email when it is submitted. Sending to an internet email address, something@yahoo.com, poses no issue, but a lot of the staff only have internal email accounts.
Is there a way to send an emmail to a MS Exchange Alias?
I am new to asp i am facing in sending the contact form sending through email using cdosys the following is the code server space work on Microsoft Windows 2003 w/IIS 6.0.
When i press send button i get a error as The page cannot be displayed and HTTP 500 - Internal server error .....
I have Road Runner cable internet access and Im working in a local development environment (writing .ASP) and have a site running on my network on a windows xp pro machine via IIS with CDONTS installed.
When I try to send a confirmation email (simple text) via CDONTS the message is built but remains on the server in the QUEUE folder ... how can I tweak the SMTP settings on the server to allow me to send email out from the server...
just the occassional test as I develop sites - not looking to spam and have a fairly full featured router to block external access to SMTP machine so its not abused.
I have a form that is being sent over to an asp page. About 5% of the time, the form fields are blank when the ASP page is reading them. But when the user hit the submit button, they were not blank, because I have client-side validation that will not allow the submit to occur if any of the fields are blank. When this occurs, all the fields in the request.form object are blank?
i want to send an email from a web app with an attached file. the form is for users to enter email addresses to whom they want the attached file sent. I'm using ASP and CDONTS mail. Code:
I have a member registration form that when the user clicks the submit button the form info is sent to a file name validate.asp.
The file validate.asp checks all the information to see if it correct and now I would like to have the data that was submitted added to an access database named members into a table that I named reginfo (registration info) and I have tried numerous ways to do this and spent countless hours browsing through websites but cant seem to get it to work. Code:
I have the code below which displays a popup where the user will enter a username and password. When they click the Submit button it should redirect to the Parent Element who then sends it to the ASP Page for processing.
I have the following bits of code but when I dump the ASP Page results the Parent is not sending the info from the child element: Popup Code:
I am using a textbox with in a forloop, for each time when i click a button it genarates a new textbox, so for example for first time there will be 1 textbox, i will enter some value into that textbox and i click the button which adds another textbox and i enter someother value and i go on clicking for to add a new textbox and enters some value. after creating 5 textboxes i want to know the index of the textbox, basing on thet index i will find the value and do some calculations and some more. so i must compulsorily need index of the textbox. SO can any one help me. when i see in the view source i am seeing that 5 textboxes names are same.