Is it possible to take a value entered on one page and access it on several different pages? For example, I want the user to enter their email on the first page, make a selection on the second page, and the third page will display a form based on their selection on the second page. I then want to submit all the data entered on the form on the thrid page along with their email address from the first page to a database.
If I have a DB table which spans multiple pages, and if the check box is selected next to the item after all pages are view the user then selects done I need it to pass everything they selected to one page so they can view it and verify that is what they want. Then it is passed to a DB and also sent to me and the user in email.. I know it is alot, but it is what I need.. any suggestions or directions??
I have a page that lists many records. One field in each record has a hyperlink based on the records ID. I click on this hyperlink and it sends me to another page and also sends the ID with it. How do I pull this ID and paste it on the new page. Below is the sending and receiving page and the code I have on each.
this correctly sends to new page with releaseID passed in the browser URL
onclick of an image button in my main page(parent.asp), im calling window.open("child.asp")as a popup!! child.asp has 36 checkboxes and a submit button.
I want my users to select any or all of the checkboxes and on clicking the submit button i need that popup(child.asp) to be closed and those checked values to be passed on to the parent page(parent.asp)!
I have a asp page created which pulls information from an access database. One of the things it pulls from the database is the address. I want to put a link on this page which when clicked will open a smaller new window asking the user to input their address. Once they input the address and hit submit, the 2 addresses, user inputted (as starting point) and the one from database (ending point) needs to be inputted such that a url is formed, leading to the directions page on yahoo or mapquest or any other site.
My question is how do I take the ending address and pass it over to this new page (using http_referrer???) and then construct the url to the directions page.
Because of �refresh� problem after updating the form. So, I have to put the confirmation message in a seperate page:
1.update.asp page click update - goes to updated.asp (update to the db and sending email) then redirect to updatedconfirmation.asp page (confirmation message)
I would like to carry a few information from update.asp page such as name and their address to the confirmation page depends on their ID, how can we I do that in the updatedconfirmation.asp?
I�ve used hidden fields in the update.asp page. but there is nothing display in the UpdatedConfirmation.asp page Code:
I having trouble with this action cause I want the user to be able to use the back button and the submitted data should be still in their form. So I the user send invalid data he can back browse and change the invalid data. I use method=POST cause its a lot of data i send between pages + client is IE6 ...
I am creating a form that has 5 steps/pages. Each page contains about 20 fields. But I don't want to write them until they submit on the last page. I figured out that I can use hidden fields to carry the data from the previous forms forward. If should bascially work like this:
But the problem I am having is when I submit page 4 page 5 won't load. No error, it just won'tload. It seems to be overburdened. Is there a max on the number of fields it can pass? Is there a better way to go about doing this that someone can suggest? Or a suggestion that someone can make to fix this problem?
I need to have some dynamically created ASP, with mutliple word documents and PDFs all connected so that it can be printed with a single print command. My two ideas are: having the PDF and DOC files act like images and print entire thing as a web page. -Or- Creating a single PDF file from the concatenation of the asp results and the doc and pdf files.
I have an ASP page a.asp. The user fills many inputs (say,P,Q,R,S) in the <FORM> of a.asp. Is there any way of submitting the values P,Q,R,S to b.asp as well as c.pl(Perl file) with a single submit button?
I need to submit the values to the perl file as I have to send the values of P,Q,R,S through email and the email-application is in perl.
I am using some flash movies & images in a many pages of my site. (like page1.asp, page2.asp, page3.asp)
The problem is when I browse one page to another (redirecting from page1.asp to page2.asp) the other page is again start downloading these images & flash movies. But they are already downloaded by previous page (page1.asp)
Is there any way that to save time, I use the same media (images & flash) that are already downloaded by first page.
While for variables, we can do that by putting them in session. But for media...any know any way....
I would like to add multiple pages to this searchresults page, where i just show 10 pages per page.
The details for the sql statements need to be passed forward onto the second results page. Initially this is where i was going wrong.
I have completley striped the multiple pages section to leave just a simple results page.
Initially if i had opened the connection via a select * recordset i would have no problems but in my sql statement i have it using information from previous page. e.g Code:
select * from prospect where number = '" & requst.form("search") & "'
I would be really grateful if someone could show me a simple way of having multiple pages while passing the variables forward as i could not get it to work my way.
I am posting the whole page because of the ammount of code and it is better than pasting multiple replies of code.
This is my first post to this newsgroup, I have question regarding showing resultset to html. Let's say I have in resultset 200 rows, and I'd like to show on each page 10 of them, so it could look like for example google search results:
Results 1 - 10 of about 17,700 for "asp search engine" [results] Result Page: [1] 2 3 4 5 6 7 8 9 10 Next
i got a list of checkboxes and radio button with the recorset paging function. let said i got the paging list << 1 2 3 4 5 >>. i set each page is 10 records. and every record got one checkbox for DELETE ID usage.
in the first page, i check 5 records, then i go to second page, i checked another 5 records. but why it cant keep the value for the first page 5records when i go back or go to next pages?
I am processing a recordset on an ASP page and this works fine, However within the loop of the recordset for each record I also want to output the details onto another page in a slightly different format. How do I make a reference to the second page building the details from the first page?
but I only get a value passed to the database if just one is selected. If more than one is selected, no value is returned. I thought the value passed was s'posed to be a comma delimited string of all checked boxes?
How do I post an HTML form to multiple ASP pages? I need to do two things with my data at the same time and it would be very helpful if I could spawn the processes when the HTML form is posted, not through downstream ASP handling.
Assuming the following code actually worked, I'd like to take data entered from one form and post it to two different locations. Hypothetically, I have a server in NY and one in LA that I want to get the same information.
Before I created this thread, I've searched Google and used the search feature of this forum numerous times on how to do this, but couldn't find much.
Basically, I'm trying to pass multiple sets of values from the search form to the ASP into an SQL statement (Access Database).
I can only make it display different prices of a certain music type, eg all prices of rock. But it doesn't output all types of music for certain prices, eg viewing Classic and Rock records with prices of 8.99 and 10.99 only.
I've used the REPLACE command I've found and got around that problem of syntax with numeric/alpha data. Code:
w2k server... after rebooting the event viewer/application log shows multiple restarts of Active Server Pages and they continue to build in memory as each start produces a IWAM_SERVERNAME in the task manager.
there might be 10 - 20 starts without a stop... when I restart iis services it takes a long time as each started service is stopped and the associated IWAM_SERVERNAME is closed.
this seems to be something new and when checking other w2k servers it is unusual.
Users enter data using HTML forms and it gets processed by an asp page that enters the data into the database. What I am trying to do is get a "confirm" page set up that will make sure the form was completed properly. If it is completed successfully, then the data from the form needs to be forwarded onto another asp page that will enter the data into the database.
My question is, what is the best way to forward the information on? Currently I am using querystring to handle this, but that doesn't work in some situations especially when one of my forms has a <textarea> box that seems cumbersome to send via querystring.
Is there a method I can use to easily forward the data from the form to subsequent pages after the first one ?
I am going to have a form on one page that will have a bunch of options(checkboxes, radio buttons, text areas, text fields, etc.) and these options are going to deal with a certain category. Each category will have different options. Now after this form is filled out they will then proceed to another page to fill out contact information. Name, Addy, State, City, etc.
Now, after they fill this contact form out they will submit it and then it will go through a database and depending on what state and county they are in it will email the information from both forms to the email addresses in the database that match that state and county(as well as category). Now dont worry I aint wondering how to actually search the db and all that yet.
All I want to know right now is how do you remember the first forms information while you go to the second page to fill out the contact information? Using cookies? What? I dont want the form input to be displayed on the second page, just remembered.
So I will select all my options from the first form and fill out all the text areas and fields and all that then click on the Next button or whatever, then fill out contact info.
How do I get it to retain BOTH forms information, and for now just display both of them on a third page(like I said I will worry about the db query and email crap later). I hope this makes sense.
a good tutorial of a ASP password script that can log-in a user to his own protected page depending on his user name. More or less a multiple destination password script.
Or if anyone could help me out with some code that can do this. Right now I am playing around with: http://www.elated.com/tutorials/programming/asp/password_protection/. Maybe some one can help me with the additional code needed.
I'm having trouble passing hidden fields between forms. I have a total of four forms. I have the 1st form passing its field to the 2nd form, and the 2nd form passing its field to the 3rd form, but the 1st form's field then is not passed into the 3rd form. So obviously, my summary form (the 4th form) is not getting the 1st form's field or the 2nd form's field, only the 3rd form's field. Code:
I have a query on a page that displays the results of a recordset. Each row has a check box that has the table ID associated with the row of data.
I am trying to figure out how do I send every row checked to another page and have that page know the ID's that were checked so the next page can query the table for those ID's and fill out a submission form. I know the form fields I can write so it dynamically names the value based on the script, that part is easy, but trying to figure out how to have the script accept multiple ID's so it can go through each and display the results is not.
Now this is simple if I am just sending one ID to the next page, I can just use a "Post" and append a ?id=xxx to the URL and then do a request.querystring for the ID. Where I am confused is trying to send multiple ID = 's to the next page so it reads more then one ID if more then one was checked on the previous page which 99% of the time it will be.
HERE IS MY MAIN QUESTION:
What should I look up to point me in the right direction to create a classic VBScript/ASP code to parse through the ID's that were checked on the previous page and have the next page query each ID for the data?
I can pretty much figure out how if I know what I am looking to do. I was just looking for some sort of direction that I can pursue to understand how do do this task. What is it I am trying to do? IS there a term or set of terms I need to consider looking up to get examples so I can tweak and write it from there?
I've got multiple pages on the same server that all have the same drop down boxes in them. It is a list of all our facilities. Every time there is a change, I have to change it on every page. They are in the format below. Is there an easy way to store all that data in a text file so I only have to update it one place?
The problem occured when I used FP2002 to create a page to search a database. The purpose was to see how it worked and the code behind it so I could start learning how to work it myself.
But before I got that far, I get an error message:
HTTP 500.100 - Internal Server Error - ASP error
Error Type:
Active Server Pages, ASP 0138 (0x80004005) A script block cannot be placed inside another script block.
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) (Mozilla/5.0 came back with the same message)
But unless I'm mistaken (and I probably am), the only scriptting on the page is this: Code: