Is it possible to have more than one form in an ASP page and determine via "request.form....." which form you want to draw results from?
example:
Can you do something like, "request.form.projecttype("id")" for the form named, "projecttype", and later in the page have another form called, "projectmanager" and do the same thing, "request.form.projectmanager("id")"
Onclick of a button i am passing the form name to another page through a querystring. I am opening the popup through window.open function. I want the value that calculates from that page to the opener page. For that I want the dynamic form name.
I have multiple pages based on a template (using Dreamweaver MX). This template is split in two parts (div); a menu area and an info (main) area. Each area contains a form. In the menu area form I have different form elements which determine the content of the info area (e.g. a combobox controlling which page is loaded).
Two of these elements are text fields holding dates. I need to fill the info area with a table of N rows, where N is the numbers of days between the two dates. As far as I know, the page has to be submitted to the server with these date and generated serverside. What is the best approach when I want to display result on the same page which submits the dates?
It is common with form collection to ASP that only one form is submitted to the server at any one time. The webmaster can save the information submitted right away.However when many forms are submitted at once, the prior data are deleted to let the new data be carried in the ASP.How can this problem be solved with ASP? Is this a limitation with ASP?Is CGI a better way of form data collection?
i am trying to build an online test that records user input one question at a time. So each question is a form by itself. I want to make a single ASP file that will validate all the form results and write it to a database. How can I know which form is calling the ASP file?
Also, there may be multiple users accessing the quiz at the same time. Do I have to do anything special for such a case?
I Need to collect about 400 pieces of text information (of various types and sizes) in about seven forms in seven different pages and post all the data finally to a database. I would like to know what is the best mechanism to pass data from form1 through form 7.
Users should be able to go to previous pages and edit entered data. Should I pass them as hidden variables or retain them as session variables or are there other more efficient ways to do this?
Also, I want to be able to later retrieve the data and porpulate the forms with the data so that users can edit the data and post it again. I am using ASP to do this (not .net). Any help from a generous programmer?
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?
Just as the title says I am trying to do something impossible with a single SQL statement. I am doing an ASP webpage for internal use at the company I work for.
I want to know if there is a way to insert/update data into multiple tables in 1 SQL statement.
If it requires functions | views or anything else that is fine but I don't want to have 3-4 different SQL statements to update 2-3 different columns in different tables.
I have a search option on my website, which should perform a search on 4 fields, as follows:
tblNews headline content
tblDatabank filename description
It only needs to return matches which are an exact match of their search criteria. For instance, searching for "I am here" would return a record which contained "I am here", but not just "I" or "I am" etc.
I need to return all these records as part of one recordset preferably, as I want to be able to order them etc., though I imagine you may suggest I use an array somehow to merge two recordets etc., then reorder them?
i hav problem with updating the data. In the asp page i hav displayed records based on search criteria. in display mode im displaying the to be updated field in combo box for each similar contract_no. each contract_no will hav different no of rows and to be updated combo box.
based on the selected value in the combo boxes of different contract_nos i hav to update the combo value with old value. user select multiple combo values at a time I need anybody's help with detailed programming logic.
I am trying to write a simple script that will allow me to have someone complete a form and depending on which location they choose an email will be sent to a specific person.
I have a page that validates and sends and email to me correctly, now I am trying to simply add a case statement that will allow me to change the recipient to the individual it needs to go to. What am I doing wrong? Is there another way of doing this?
Basicly I would like to know how to transfer data entered on a form one one page, to another - for example a signup: Page one - Contains initial form Page two - other details form ] both pages emailed through the same form.
I am trying to take that is submitted in a form and put it into a querystring. I have a text field with the name "company_name" and has the value of <%= cCompany%> when submitted I want to take the value of the text field and send it to another page called submit.asp. then from the submit page I will append it into a table. I can append to the table fine but when I pass the value its blank. I have tried Request.Form(company_name) and Response.Write(cCompany). None of these seem to work the variable is always blank when I submit it. I can use javascript to get the value, which works correctly but cant dont think I can pass a javascript variable into a querystring.
how come the second one has the forms lined under eachother when the first one looks like it does? How do i make the "boxes" in a straight line under eachother?
I’m working on an Invoice page. The user may edit some of the vars on the page. Then The user will want to re calculate the totals. Then after seeing the re calculated totals then I will want to submit this info to the next page where the data will be put into a DB.
The question is how do I do this without using 2 forms, It looks like you can not put a form with in a form. Yet it looks like that’s the only way to be able to pass the vars iEither to the page where were calculate the vars, or the other page where we submit the data to the DB.
and want to pass two variables across my forum by selecting just the one. i.e. rather then just passing rsPrinter("id") id also liek to pass rsPrinter("ccid")
But dont know how to without making it joined when i cann it on the next page via request.form("printerid")
Is it possible to call ASP functions from event handlers? I am trying to find a way to have a form call an ASP function, if there is a better way let me know.
A client of mine has a couple of simple contact forms on their web site and they have asked if I (their web guy) could put together an ASP Form for them as their current form is out-dated and the radio buttons don't work right.
Not only that but, they do not even have a re-direct page setup so when a prospective customer completes the form and hits "submit" the form they just submitted stays in their browser window.
I have put together html forms but, I was wondering if I could get some help with creating an ASP Form for my client with disrupting the format & layout of their current Forms?
I have checked out some ASP tutorial sites but, they really do not give you the full picture in creating a "working" ASP Form.
I am trying to create a page with a drop-down select upon it. When the user clicks on a selection I want a new frame to appear with a new URL (associated with the selection) appearing in it.
previously when I have used select I have passed the value to the new page, but this time I want to go to a different page depending on the selection.
I have a very large form that clients will enter data into. When they submit the form I would like a page to come up where they can opt to confirm the form or go back and edit the form. I know this is possible is there a way to automate this so I dont have to retype the whole form again putting all the data in manual.
I need the form to be emailed to me once the form is complete. the problem I'm having is when the SUBMIT button is selected I receive a HTTP error 403.1. My web server admin isn't sure what is causing the problem. Is ASP the best way to go?
I need to collect course registrations, with cc info, via an ASP registration form that would operate under SSL. The order info would be stored in a database that resides outside of the public web directory.
If I write a password protected utility that runs under SSL that allows the person processing orders to view/print records in this database under SSL so they can be manually processed, and after printing delete the cc number in the db, realistically, how secure is this? Host won't let me use PGP.
They don't want to use Paypal, and can't get an online merchant account because they're considered a high risk business (travel). What other options do I have?
im creating an application form for an existing site. The pages are all .asp but my form is .php. I have never explored asp before and know very very little about it. Not sure of the easiest way to create this form within these pages.
I have a form with 6 multiline text boxes each accepting data to be stored in a memo field. the form accept as much date as can be typed, but refuses to send data after a certain limit (havent actually counted the # characters).
Is there a limit to the number of characters a form can send, or is it some other design problem.
Basically I have a form, where I have 6 option boxes, say Option box 1 has 3 options in it, being A,B,C. Is the a script around than when a user selects an option them form gets reloaded with the same option boxes, but between the first two option boxes a Text box appears with a certain label, this labels is altered depenging on the users selection. Code:
I have built some ASP forms using Dreamweaver MX. I do not know much about ASP, so here is where I need help. The forms are writing to the databse with no problem.
how to get an email sent to the user confirming submission and to the admin, letting them know that the form has been filled out. Im sure it is not to complex to achieve this, but I am just not sure where to begin.
I have a form that is using the godaddy gdform.asp file for it's action. The form is simply to collect a user's information and then take them to a brochure download.
When they click on any of about 100 brochure links in the site, I would like them to go to the form, then after they fill in their information, have the submit redirect them to the correct brochure based on the link which brought them to the form.