Accessing List Box On Same Page Before Submitting
My form contains a drop down list of univ. campuses and depending
upon the campus user is selecting, I am selecting the courses offered
in that campus from database (MS Acccess) and showing those in a
different drop down list below.
Is there any way that I can access that campus-list value before
submitting it to database?
Also, please give me solutions in VBScript and no javascript. That's my
Prof.s restriction. One of my friend told, there is no way this can be
done. But I am sure there must be some solution. Microsoft is not that less
creative.
View Replies
ADVERTISEMENT
I have a list box with five values in it. These are essentially account groups. The user will select one of these values and click on a button. This will update a second list with specific account names depending on what the user selected on the first list.
These account names will be retrieved from an SQL database. Below is the code which sets up the first list and the button. Code:
View Replies
View Related
I have an ASP form that users enter a number into. The form then posts
the number with a hidden login and password to a web address which
opens in a new window. However, I want make sure that the number they
enter is not one of the numbers I have in an Access database table that
contains a list of numbers they are not allowed to enter. How can I do
this?
View Replies
View Related
Maybee a little bit of topic, but is it possible to stay on the
submitting page once you've clicked submit.
This is to get processing done on page B when you submit on page A,
and the page should not change. Normally I use a response.redirect to
the submitting page, but that can't be done in one case.
View Replies
View Related
We have created a form for high school student submit their scholarship essay (name, address, and textbox (essay) )before they submit his/her assay to the DB, we would like to give them an option to review it, if he/she wants to edit/change, they click “Back”, otherwise click “Submit”. How can we hide the information in the preview page (from the form to the preview page)?
View Replies
View Related
I am developing a page that when it loads up, it will display certain information from an SQL statement using preset values. However when the user is using the page they can then use drop down menus, to choose different year, suppliers etc, the page then needs to reload showing this new information.
I think it is possible to do this using the response.redirect, and direct it back to itself, with all the new variables. However some information will stay the same and I just wondered if it was possible to only reload the information that was required to save on server time running sql statements taht need not run.
View Replies
View Related
I'm trying to submit a form to the same page. Eg. (page name = test.asp)
<form action="test.asp" method="post" name="testform">
<input type="text" name="testval1">
<input type="submit" value="Go">
</form>
At the very top of the page I try to get the value by saying:
newtest = Request.Form("testval1")
I got the example from here
The trouble is, my page instantly throws an error. I think it's because when I first load the page up, it's obviously not coming from a form submit! Can anyone shed any light on a way around this?
View Replies
View Related
I am in the process of developing an application and would like to hide the
query strings in the URLs. I want to POST data to a page then validate the
data. If there is an error I have to send data back via a long query string.
Is there anyway to POST data between pages programmatically?
View Replies
View Related
I’ve created an application with 3 pages[forms] that have information that must be entered. This application has a session variable that is passed from page to page to ensure that the information that is put in the tables in the Sql Server database is linked together. It also sends an email after the last page is submitted.
My problem is that I am trying to create a page that will show the user what they have entered and allow them to go back and make changes if necessary, before they go to the next page. [A verification page I guess you would say]
I have created the 1st verification page which shows the info [from the first form] the way I want it to and it allows them to go back and make changes, [while I’m testing locally, that is]. When I go live, it skips over the 1st verification page and goes straight to the next form page. It does process all the code that is in the verification page and adds the info to the database but it will not show the verification page! When I do get it to show the verification page, it does not process the code behind the page that adds to the database. Code:
View Replies
View Related
I am getting a 404 error when trying to access an ASP page from a remote machine (via Internet Explorer). However, the asp page is processed successfully when accessing this page from the local machine.
I checked permissions from IIS administration and from explorer and nothing seemed out of the ordinary. Other ASP pages work from other virtual directories, but for some reason this one does not.
View Replies
View Related
I am unable to access an Access database through a webpage I built, but only if the database is on a server running Windows NT 4.0 Server. If I copy the database to
a pc using NT Workstation then there is no problem. I have a user account set up on the sever as IUSR_pcname. It is a domain user with full privileges. This is the connection code:
oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=10.10.10.10pcdTEST.mdb;"
It gives me a 'disk or network' error and for some reason, and the server locks out the IUSR_pcname account after I try.
View Replies
View Related
I have created a asp project local.and have created a access database local. Iam trying to use the access database from the asp page. But It is not accessing the database file.
once i changed the rights of the access file and checked it.It inserted the records.And after some time, iam not able to access it.some times it accesses and some times it doesnt.
View Replies
View Related
We are hosting a web site, and within this web site we are trying to open a .aspx page within the DMZ. Is there anyway to do this? We are currently running Windows 2003 on both servers, and both servers are running IIS. Redirecting the page of course does not work, any other ideas?
View Replies
View Related
I have implemented a Web Service on an IIS 5.0 platform using the ASP listener
I can access the Web Service just fine from a VB 6 App and classic ASP using the SOAP 3.0 toolkit and its "MSSOAP.SoapClient30" object
However, one of the servers that I'd like to call the Web Service from is a shared hosting platform that does not offer the "MSSOAP.SoapClient30" object
It only has the MS XMLDOM. I have located an example of Accessing a Web Service via the MSXML DOM from an Active Server Page where the Web Service is on a .NET platform (http://home.att.net/~codeLibrary/ASP/ws.htm
But I need to know how to access a Web Service from an Active Server Page with the MS XMLDOM where the Web Service is implemented using classic ASP.
View Replies
View Related
Is there a way in ASP to prevent users from accessing a web page when the back button is pressed in the browser.
View Replies
View Related
We have a web site IIS 5 (on Win2000k) with Oracle 9i backend (Sun unix).
There is 1 user ID to oracle(APT_W3) that is used by all users (50).
We have a global.asa file that has one APP Start connection string using OLE
DB:
Application("dbConnString")="Provider=MSDAORA.1;Password='SDERSD';User
ID=APT_W3;Data Source=CCEWSDD1_new;Locale Identifier=1033;OLE DB services=-1"
The first page that a user sees asks that they select the area they want to
see (western, northern, etc) from a dropdown menu. Once they select it and
hit save they can go to other pages, session varibles indicating what area
they selected are then passed to pages. Currently all areas are in one
database.
What we want to do is have areas in separate dbs, a northern one, a western
one.etc. Each will have separate user ids (APT_W2N, APT_W3W,etc).
We want the users to have the web page presented to them where they select an
area. Based on the area they select, the appropriate conneciton string will
be used (the one in the global asa). Code:
View Replies
View Related
I need a vb 6 's list box equivelent component in web (HTML or ASP) ?The detail is. I need to develope a system in which a database offers list of items from which user will select its choice & that choice will be added to a list box of selected items. When user's selection finish he can see his selected items in a seprate list box In VB 6 it has been done using list boxes. If we create a web based system for that how we'll accomplish that.
View Replies
View Related
I have a list that has two pages or more. How to print all the pages
clicking a print button? Right now, it just prints the screen using the
following.
<input type='button' class='button' value='Print'>
View Replies
View Related
I show information from a database in a table format. I will be showing more and more data and would like to show it one page at a time with a next page back page option.
Can I do this on a web page and does anyone know where I could look to find out how
View Replies
View Related
well i m developing application in asp when i want to access these pages from ie5 it shows error HTTP Error 403 - Forbidden in internet explorer http://localhost/Mail/email.htm .
View Replies
View Related
I output a list of towns from a database via a normal recordset loop into a normal paragraph with links - BUT for some reason it is totally pushing the page out... is there any reason for this? I also placed trim() on the town name in case there were lots of mistaken spaces, etc. Code:
View Replies
View Related
I'm using VBScript to display a list of the ten most recently updated
pages on my web site. Right now, the script lists the filenames and
the date modified in a given directory.
What I want to know is if there is any way to extract the page title
and display that instead of the file name? Can I use .asp and VBscript
to "delve" into the file and extract the title? Code:
View Replies
View Related
what I want to do is - the user is presented with a form with a drop down box at the top with two options - Yes or No, If No is selected then the form stays as is and the user can complete the other text boxes.
However, if the user selects yes I want the page to refresh with a different set of input boxes.
View Replies
View Related
how would I go doing it without javascript and using 'POST'?
Having a page with a variable list of items in a shopcart, each item
with its own 'remove' button. How could I do this without a javascript
and using POST as the form type? (so having <a href="page.htm?remove=2>
is not possible)
View Replies
View Related
I have a form that contains another form. For some reason the "nested" form
won't submit via document.FormName.submit(); it says "object is null or not
a value" or something like that. When I place the form outside of the
original form, it works just fine...but that's not really an option here.
Any ideas why it will submit when it's outside of the form, but not when
it's within a form?
View Replies
View Related
How can i list out all the email address into my website from the hotmail caontact list? i am successful log in into the yahoo contact list by using serverxmlhttp and list out all the email address from the page source, but i could not access to hotmail by using the serverxmlhttp. Is any other methos can list out the email address from hotmail contact list?
View Replies
View Related
I need to submit in the same page two forms to two different ASP-pages.
I created two forms, each with hidden input and a submit button. But it
doesn't work. Nothing happens with the second form.
Does it exist a way to do that?
View Replies
View Related
I currently have an asp page that ask for an email address and then with selection values runs a stored procedure.
Everything runs fine but the concern is that with enough records the processing limit will be exceeded by the web server and it will cause the page to crash.
Is there a way with ASP and MSSQL to send a request to process a stored procedure but have the processing of the asp continue while the sql runs its cousre? My sp will already email the user when processing is complete I just need the asp to send the request for it to be run but not try and run it while the next page loads.
View Replies
View Related
I'm trying to submit a form field to an Access Db but I'm having a few problems, as it doesn't work.
However, when I change the emailbeta variable manually, and browse to the page, it works fine!?!?!?
I'm including each page within the index page, so I dont know if thats causing the problem, I've included all the code below. Code:
View Replies
View Related
I am creating a website which has a form for registration. I am not using any database or server side coding. The form details should be sent through an email to me. I tried the action = "emailto:me@myaddress.com" but it only fires my outlook when the submit button is clicked.if it could be done the way I want?
View Replies
View Related
I don't know if this is possible or if it even makes sense, but this is what I want to do. I have a page with a form to fill in a timesheet for a user. Depending on how many users did a "job", a form will appear on the page for each user. So basically, you could have 3 forms, all with the same names etc.
and the only thing distinguishing them is a hidden input with userID and different data for each user. Now what I want the person to be able to do is fill out all the forms on the page and submit them at one time, rather than one at a time.
Then in the asp, I'd like to iterate through each form that was submitted (obv I don't know how many were so I assume I'd go through a collection if one exists) and process them one after the next. Is this possible and if so, how do I submit them all together and how do I then go through them on the asp side.
View Replies
View Related
Currently I'm able to run the insert with a form that is fully filled. My problem is I want to allow the user to leave some fields and be able to submit the form.Any ideas how I should do that?
View Replies
View Related
I have a form where students can enter their evaluations which are sent to a database. The asp code has been working flawlessly for more then two years, but suddenly when they hit the Submit button, nothing is written to the database.
Instead, the code of the submitting script is shown. No error message is shown. As far as I can tell the code is unchanged, but obviously something has happened. I would be grateful for hints on where to start looking.
View Replies
View Related