Submitting Data To Server
Is there a way to get data submitted to the server without using a form? At the moment I have a very complex form that takes a very long time to load (about 30 seconds), and at intervals I want to send save commands back to the server so that the dynamic information on the page can be saved. The problem is that if I do it the normal way it's frustrating for the user because they have to wait another 30 seconds for the page to reload.
I've also tried using a hidden IFrame and submitting that, but it slows the page's initial load down even more and is causing a bit of an administration nightmare. Also, the program stalls while it waits for a response (success/failure) to come back to the client.
View Replies
ADVERTISEMENT
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 have an ASP form that has a field that automatically places the current date into it. It uses the function Date().
The problem I am having is when the form is submitted into my Access database the date is coming out wrong in the Access field. The datatype for the field is Date/Time but it still is not coming out right.
Example: the date in the ASP form shows as 12/19/2006 and the entry in the Access form shows 12:00:27 AM. If I change the format of the Date/Time field to Short Date, the result is: 12/30/1899.
Does anyone know how I can get the data that is posted to the Access database to come out the same as the ASP form?
View Replies
View Related
A coworker is creating a form. The user fills in some numerical data. We would like to present them with a Calculate button that they can use to submit their numbers and be presented with the same information but also with the totals at the bottom. BTW, we cannot use JavaScript so it must all be done using server-side ASP.
That part is fine but we also want to provide them with a Submit button in addition to the calculate button. Now, I realize that if both buttons are contained within the same <form> tag, there can be only one action URL.
We toyed with the idea that if name=calculate, display the original form with the fields filled in and the calculations done and if name=submit, redirect to the thank you page but given that the method is post, then the redirect would not transfer the post data. If the method was get, then the redirect could include the query string data in the URL but that is not the case.
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
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 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
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
if there is a way to submit all checkboxes (names and values)no mater if they are off or on (checked / unchecked). Anybody would know some scripts or tricks to get this working.
View Replies
View Related
I have an asp page with a form on it, the corm contains some list boxes that populate depending on a previous listbox choice.
for example, list box 1 is populated from a database, and user makes a chooice, form is submitted to it's self, and listbox 2 is populated from database, dependant on coice in listbox 1.
fair enough, that works a treat. but to get this working I have used the <form action = "this_page.asp" > tag, and in the first listbox, I use
<select name="F_12025" size="1" id="F_12025" onchange="products.submit()">
my problem is as follows, at a certain point, the user has completed the form and must click the submit button, to sent the form to a thirdparty dll.
I cannot find a way to submit the form to a different page than is speccified in the form tag, (in this case not a page, but a dll, but what's in a name eh?)
View Replies
View Related
I have made a page to display a chart based on data from my SQL-server. I have used Office Web-component graph. Here I can set the correct SQL statement and the graph works fine.
Now I want the user to be able to input the WHERE part of the sql sentence. Can anyone point me to info or code on the web to do this ?
View Replies
View Related
Suppose I have a C++ server that listens to a port (WinSock API). Is it possible to send a data to that server from ASP page? If yes, how?
View Replies
View Related
I want to count number of data available depending upon the conditions in the large database the database table rows are approximately 3 lakhs and there are multiple table to be searched and records need to be displayed in ASP pages.
Kindly suggest the best scripting method as i am always getting error like "Script Time Out" Error in Active Server Pages (ASP)
please suggest how to avoid or in sql server i can create some pre defined script and just call from asp pages
View Replies
View Related
I want to export data from SQL Server Database to Access Database through ASP code.
Will it be by running some sort of a batch file?The database structure of both the databases are the same, only there are 3 fields more in the SQL Server DB than the ACCESS DB which need not be exported.
View Replies
View Related
i am trying to insert utf-8 data into ms-sql server using asp. i created an input box from where other charater (like chinese,japnese) will be inputed and should store it in sql server.and it is inserting it as some junk characters in sql server. but When i tried to display it in browser it is not displaying properly. in asp page i wrote this
session.codepage = 65001
response.charset = "utf-8"
' INserting goes here
View Replies
View Related
i need to display a data on the web from the miscrosoft sql server base on the user who have log on to the web.
name : <UserFullname>
id:<UserID>
profession:<UserProfession> ..
View Replies
View Related
my application i put on server1(webserver) and my data i put on server2(*.doc and *.pdf). when user access my application on server1 than i show my data on server2.
Ip on server1 is public and IP on server2 is private . how to configure between two server at above ?
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
i wish to enable users to submit an image on one of the fields on the form within an asp page.
essentially i suppose they would submit it as an attachment though it would be entered and stored in the access dbase, from which it would be pulled in connection with specific text fields.
i'm using ultradev though trying to use an input field though it seems to talk about retrieving data. can this image as a field collection by done on the input with asp form ?
View Replies
View Related
how I can submit a fomr into an iFrame on the same page?
example:
I have a page called search.asp and in it is a form with one text box and a submit button.
Once the submit is pressed, I want the iFrame to be updated with the results from the database.
(I tried adding target=[iFrame name] to the form tag, but this loads the whole page into the frame)
View Replies
View Related
I have a form that currently input data into an access db. The first thing that I would like to happen when the Submit button is clicked, is to check one column in the database to see if there are any duplicates before uploading any data. So my question is, how?
View Replies
View Related
I want to be able to post data from a form on one server to another server at regular intervals. I know the XML parser is built around this kind of technology and can post information to a server.
Is there a way of either posting form data to a seperate server without user interaction either using the XML parser or by generating a form and using some JavaScript to autosubmit a form once the page has loaded.
View Replies
View Related
I have stripped it down to the basics for example purposes.
At the moment, if user completes all required textboxes, it submits to itself. I need to set it so that if the form is completed properly, it sends all the values to a validate page where I will set up my connection etc and submit to a db.
Where am I going wrong and how can I get the form (after doing the validation checks) to submit to another page? Code:
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 trying to send information that I collect using an ASP form to a fax
number that I specify somewhere. Can someone please tell me whether I can do
that using ASP code and if so, how can I do it and what kind of applications
I need to have if any.
View Replies
View Related
i am having with a different page this page works in mozilla and firefox and doesnt work in internet explorer what i am trying to do on this page is when the user clicks on submit button show him a different page works fine in mozilla not in internet explorer.
i have tried changing the type to button instead of submit it still doesnt work in internet explorer it doesnt give an error but it just doesnt submit the page here is the code can someone tell me whats wrong in it Code:
View Replies
View Related
How to convert sql server data to ms access.
View Replies
View Related