I'm trying to submit an image object, along with some other text fields to another web server from within an ASP page but am stuck on getting the image to be submitted with the form.
In a bit more detail:
1. When this particular page is executed, I want the server to pull an image from a db (stored as a BLOB) along with a few other text fields. This part is easy and I have no problems with it.
2. I want to submit the image, along with the text fields to a second webserver which typically accepts its input from a form (ie, the second webserver usually has a webpage where a user enters some information into form and browse for a file. When clicking submit, the form fields along with the file are submitted to the second server).
The reason for this is that I'm trying to migrate from one web based photo album to another which uses a data structure that is complicated and difficult to interface with, so I'm using the web based image upload functionality of the new album. Code:
i am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:
I'm trying to retrieve the data off a form (survey.htm) and email the results back to me using CDO and ASP (survey.asp). I'm confused as to how to retrieve the form data from survey.htm and send it using survey.asp. Below is a sample ASP script that I found on ASPFAQ.com and it works fine, but now how do I grab the info from a form and incorporate it into the emal. Code:
I've written many pages that emails the content of a web form, but the data formatted very nicely. Is there a way to have the content of the submitted form data via email in XML?
What I am trying to do is create a page on my company's internet site so that our customers can fill out a form, click a submit button and then have the data they entered be emailed to me. I have already created the form within Dreamweaver MX. How do I setup the Submit button to automatically email the information to me?
I have a hidden input type that contains an item's id. When I try to use the data the sent variable contains all of the item numbers in the column delimited by a comma which I do not add.
The SQL statement I use ends up looking like this: UPDATE CompsIn SET ProjectTask ="asdf" WHERE PropertyNumber='sCSU345, sCSU802, sCSU810'
All of the items on the page are in one form, would making each have its own form fix this problem?
I'm creating a page with a form where you can select a file from your hard drive, fill out a couple of text areas and then you can upload the file to my server.
I can make the page show the picture and the submitted text at the end, once it's been submitted, but I would also like to receive an e-mail that delivers that information. I don't need the file to be attached on the e-mail, I just need the info that the user typed in the fields and the name of the file that was uploaded. Code:
I have little to no experience with ASP but I need a form that submits to an MS Access DB. I have made my form (with dependencies based on previous questions) and need it to submit to a DB. I have found samples and can't even get the samples (pre-written proven to work) to work on my PC. I thought it was lack of IIS but after installing that, still not working. When submitting, generally the ASP code shows rather than it actually running the ASP page.
I have a payments page that also has name & address info. The user clicks the "Proceed to Payment" button which sends them (and the form info) to WorldPay. What I want to do is save the name & address info into a cookie. I know what the cookie code is, my question is this...how do I invoke my cookie code and then send the form info to the secure server by one single click of the "Proceed to Payment" button?
I use the same code to enter a password to forward on to a secure area of my intranet. I've used the same code quite a few times with no problems until now. Basically I enter the password if I click the submit button it works fine. However if after I have entered the password I just click Enter (or Return) it refreshes the page rather than submits the form.Has anyone come across this problem before ?
I am using different buttons as i nees to each button to to do a different action in my case the variable prev is not being set or passed on to the page i submit , how do i ensure this variable is passed on.I,ve pasted the code below
I'm currently using select case for my asp pages to add, edit, view and delete records......however, I see the limitations of using select case, like I can't use the same value name for multiple buttons, like 'Submit'......
is there any other way to support the multi-task (add, edit and so on) on an asp page instead of using select case?
I have a very large HTML form (with about 50 fields) that's being submitted to an ASP page via the "POST" method. I don't use "GET" because the data would probably exceed the limit allowed in the query string.
Anyway, this is probably irrelevant, but this form gets submitted to a SQL Server 2000 DB.
This form has been working for awhile now. I went in and added a few if/else statements here and there and when I tried to submit the form for a test, I get an error. Code:
I'm currently doing a school project on designing an online application leave system for a company. I'm using dreamweaver MX, server language ASP VB script to do this as I'm not well-versed in programming.
Right now, I've gotten the form up but am experiencing trouble in trying to print the form out upon clicking of the Submit button. I can't figure out how it is possible to transfer the data in the form to a printable version and then print it out. Btw, the information collected in the form will be stored in Microsoft Access database.
When I submit my form to the same page its on, the browser hangs up with lengthy strings in my "textarea field." It won't take anything over about 200 - 250 chars. Right now I have Request.Querystring for each element of the form. I've tried just Request and it does the same thing. I also tried Request.Form and it doesn't capture the values.However, as far as the database field, i have a VARCHAR(8000), the max the datatype can hold, so that I can post, if necessary, giant news articles.
I have an ASP page that displays records from a table, and allows you to add, update and delete. There is a form with one button that does adds and updates, and a second button for deletes.
What I want to do is, instead of having the 'action' of the form be something like:
action="updateUser.asp?mode=update"
I want to use the onClick property of Add/Update and Delete buttons to set a value in a hidden field in the table, and NOT have a query string, ie: action="updateUser.asp"
The problem is that I have an 'If' statement to determine if I need to do an add/update/delete or just display the records and form:
If (Request.Form("txtAction") = "update" Or Request.Form("txtAction") = "delete") Then
How do people go about preventing the user from submitting a form for a 2nd time? For example, the user submits a form, clicks on the back button, and the submits the form again. I have used various techniques in the past (depending on circumstances) but I'd be interested in the techniques you guys currently use.
most websites make use of CAPTCHA to prevent automated Form submission. give me examples of how automated Form submission can be achieved? It's not that I intend to do some nefarious activities; rather I don't understand how can automated Form submission be done other than the website developer coding it (for e.g. using JavaScript to automatically post a Form, say, after 2 minutes).
Big.asp includes an iframe called small.asp. Small.asp has a form. How can i make that form to be submitted to big.asp? Because if I simpli point the form to big.asp, it would open a big.asp into the original big.asp .
Each mailer component has different properties and methods available, and each should have documentation available. That's where you'll solve your coding, it sounds like you're trying to use a method that doesn't exist in the mailer object you're using. There are email sample codes at www.w3schools.com among other places.
When we click the submit button as the following form, my understanding is it will submit the form to the web server, and then open page2.jsp. web server has some area to store the name-value pairs?? I just want to understand how it works internally.
I have these email forms (using CDO) that email the content of a form to different people in our organization. Now I'd like to also email the user after they initially submit the form to confirm that we've received their information and advise them of the next steps.
My problem is that I'm trying to create 2 email instances on 1 asp page I think... which I guess is 1 session?? I'm kinda lost. How can I generate two seperate emails from one form submission? Of course, my first attempt was to just copy the original email code and change the variable names... but that doesn't work... it gets stuck on setting up the CDO config.....
I have a form which submits to my ASP page, which uses the Persits ASPupload. When using the form, it works great. I want to run the submission from a program on a client instead of through IE. I am having trouble converting the form to VBS. Here is the form: Code:
I have a text area on a form. I want the user to be able to type in text and where they want a line break to hit the return key in the text area. On the submission I want to replace those carriage returns with html code like <br /> Can this be done?
I have a timesheet type form that has 40 different row - each row has two dropdowns, one for a project and one for a task, and a dropdown box for each day of the week. Once a project and task has been selected, hours spent on that task each day of the week are entered into the text boxes.
What I would ideally like to do is, before I send this page for processing on my asp page (which involves saving the data back to the database), I'd like to check whether or not the user has entered the same project/task combination on multiple rows.....the dropdowns on each row are named project1-project40, task1-task40, mon1-mon40 etc.
I'm using VBScript for the server side scripting, but I'll happily incorporate a section of Javascript code if that will offer me a simpler solution.
I have a wizard that teaches kids how to write legislative bills. It is a series of 5 screens that forwards each page's entries to the next before proceeding to the next screen. All five screens worth of data are then inserted into the db on the final submit.
I am getting rare reports that on the submit of the final edit screen the entire data entry disappears. I have not been able to duplicate the problem here and it only has happened to 2 of 300 entries that I am aware of so far. Could this be a firewall issue or a browser settings issue of some sort?