Automatic Form Posting
Posting variables from an HTML FORM, via
the Request.Form function on the receiving
ASP page is great.
But how can you POST a Form variable to
an ASP page -- without a human pushing a
Submit button?
An ASP page that can decide when to POST
and send the Form vaiables, but out without a
human in the loop.p.s. the reason I do not want to use a
Request.Querysting is because I do not
want the user to see the values at the
tail-end of the URL (?x=private).
View Replies
ADVERTISEMENT
My employer uses an onjline application for new hires. Currently they fill out a form which goes to ../cgi-bin/formail.pl
Of course this then email the application to them.
Once they recieve it it looks fine but when the go to print they say it prints 4 or 5 pages of garbly gook.
I havent seen this yet but i was thinking that if i could post the form to two seperat files, the fromail.pl and an asp page to insert it into an access table to later view with another asp page they could view the apps online and just print form explorer if i designed the page right
i have never done anythig with pearl before. Can I post it to an asp page then to the formail.pl. instead of posting it to two pages.
View Replies
View Related
have one form on an html page post to another form on the same page? I would like to have the information (all of the second form) hidden until the post is sent to it. Is that possible too?
View Replies
View Related
I have created a form, which has hidden fields, which are to be passed to a payment gateway using the POST method.
My problem is that the variables in the hidden fields do not get passed on to the payment page when the form gets posted. The payment page comes up empty.
Does anyone know why this is happening? Code:
View Replies
View Related
I have a web page, where users fill out their name and address, and I send
them a free catalog.
The problem is that someone is filling my form out about 100 times a day
throughout the day with peoples information, who don't want the catalog!
I have tracked the ip address (all different) and the http referrer, which
doesn't really tell me much. and looked in the iis logs, which lists the
ipaddresses.
How can I find out who is posting to my form???
View Replies
View Related
I am trying to post the results of one form to another target .asp page - I do not know how to write the code. I have ran through tutorials etc., and my ISS 5 documentation - basically this is what I am coming up with. Please confirm if this is correct code used on the target page - the page that rcieves the form results.
<form action="CSSI-CMS2.asp" method="GET" enctype="multipart/form-data" name="e-design">
<%
Response.Write(objItem & " = " & Request.Form(objItem) & "<br>")
Next
%>
</form>
View Replies
View Related
I'm trying to make a script that will process any form you throw at it. Whats the best way decipher how many request.form's (i'm using post) there are and whats the best way to put them into an array since i don't have comma delimiters. Can I change what delimiters the array() function uses? Code:
View Replies
View Related
I have a form where the first field is a dynamic drop-down that pulls from a db (Access). The fields associated with the query are task_id, task_name and task_rate. The field has the value of "task_id" and the label of "task_name".
In the second form field, I would like the default value to be determined by the selection made in the first field. Based on the selection of the first form field, I would like the default value of the this field (task_rate) to be populated with the associated task_rate value of the selection chosen above.
View Replies
View Related
When I post a string containing special characters (& #145, & #146, & #147, etc. for single and double quotes -- spaces added so they display correctly) through a form and write the contents on the next page via Request.Form, my special characters have been replaced with the characters they represent. Does anyone have any idea why this is happening, and more importantly, how to avoid it?
View Replies
View Related
I am trying to post a large XML string to another url. I have been doing this previously in cold fusion but am trying to get all of my code up to date and it wont work in ASP. It should be very simple:
xml = Server.URLEncode(refi1_doc)
pingUrl = "https://xxx.xxxxxxx.com/b2b/incoming.asp"
set xmlHttp = Server.CreateObject("MSXML2.ServerXMLHTTP")
xmlHttp.Open "POST", pingUrl, False
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlHttp.Send xml
This should just be URLEncoding the xml document and posting it. I am getting a "Bad XML" response - line 0, position 0 -- but I KNOW the xml string is well formed -- have already tested that. The guy on that end who was trying to help me stated that the string MUST be in a form field named "xml" (all lowercase) and it has to be a post -- that's it! Isn't that what I am doing? I even tried adding to the end of the URL:
pingUrl = "https://xxx.xxxxxxx.com/b2b/incoming.asp?xml="
Nothing is working. How do I specify that the data being sent is in a form field called "xml"? Anyone know what is going on here?
View Replies
View Related
When a visitor enters the basket section of my ecommerce application he has to press on a button “click to view basket”. The submit button posts the users IP address back to the form. Below is the code:
<form BOTID="0" METHOD="POST" action="ProducsTotalBasket.asp">
<input TYPE="HIDDEN" NAME="Remote_computer_name" VALUE="<%=Request.Servervariables("REMOTE_ADDR")%>" size="20">
</form>
I have tried to automate the submit function by placing the following code into the body of the web page:
<BODY onLoad="window.document.postform.submit()">
This works, in that the records in the basket are displayed automatically without clicking on the submit button however the screen starts going berserk and the form keeps posting to itself i.e. the “ProducsTotalBasket.asp” page mentioned above. It simply won’t stop & keeps looping and posting over and over again.
View Replies
View Related
I am running IIS5, Win2k Server, and .Net Framework 1.1.
For some reason asp forms will not post data. So I have
a form with a text box. The form's method is set to post
and I have a submit button.
The weird thing is that the page works fine without using
SSL and/or the FQDN for the server. Code:
View Replies
View Related
I've encountered is in a UTF-8 test script. Here, the input - a single two-byte Cyrillic character (as reported by Javascript in the originating form) is posted to the receiving script, where IIS or IE has expanded that to a 4-byte field. -- while the display of that character is correct. What encoding is the latter?
View Replies
View Related
Does anyone know how to post form data to a popup window either by using ASP or JavaScript? I have a form full of inputs and I want to open a popup window where the processing can take place.
View Replies
View Related
I have simple form where user enter the search criteria and the form is
posted back to itself and runs a query based on the values that are entered.
Everything is expect the values that the user enters disappears everytime
the form is refreshed when posting it to itself.
Is there anyway I can retain the values that were entered on the form?
View Replies
View Related
is there a way in ASP to automatically submit a form and its values when a page loads ?
if not is there any way round this scenario. i want to have a drop down list of options depending on which is selected will depend on where the form is submitted to.
View Replies
View Related
I'm trying to setup an ASP page to POST an image across to another page- essentially simulating what a browser does when you use <input type=file> in a HTML form.
I'm able to correctly setup the headers etc and do the POST, but I'm unable to include the binary data of the image.
The only way i've been able to do it is if I base64 encode the image. I'm using MSXML2.ServerXMLHTTP to do the POST, and I can't seem to do the .send with a form body that includes the binary data of the image. Code:
View Replies
View Related
I am using a new payment gateway for one of my sites. One of the options they recommend for submitting the credit card info involves submitting a form in "the background" with a post. They then return a comma-delimited string, which I can easily parse and act upon.
How do I submit a form in the background? I'm sure it's simple, I just never had to do it so I never learned how...
View Replies
View Related
I have to pass form data from my site to another organizations site using POST method... how exactly do I do that? Im familiar with how to do it within a single site/domain, and cant use querystring... I dont know where to begin.
View Replies
View Related
I am working on asp and ms sql.
I have created a table called as 'usertable' in ms sql database. The columns in 'usertable' are username, loginid, password. The record gets added to this table, when a new user makes a fresh registration.
Eg: username = 'david'
loginid='daveuser'
password='newpass'
So My question is whenever a new user is added to a table, an automatic mail should come to me 'pra123@yahoo.com' mentioning that a new user is added to table ALONG WITH HIS USERNAME, LOGINID, PASSWORD.
All this information should come to my email account automatically. So how to write ASP Code for this.
View Replies
View Related
I need to some how do the following and if anyone can help me or point me in the right direction I would appreciate it very much.
I have a form that the user would fill out. When he/she clicks submit it goes into another page that reviews the information that the user typed in the previous form. If all of the information is good for the user there's another button in that page that they would have to click.
This is what I want to happen after they click on this button. I want to record the data in a SQL database, which I know how to do that, but what I want to happen automatically right after inserting the data in the SQL database is that I want the same data to be carried over to another page where there'll be another form and want that data to be populated in this new form. How do I do that?
View Replies
View Related
is it possiable in run some automatic checkups on the server every X time or every time (with no reaction with the user). I need to run all the time checkups on the sql database and check values of some column.
View Replies
View Related
I would like to backup the Remote Access database from a link on my asp application . Is it possible ?For instance, there would be a menu which once clicked will initiate login/password and ftp server, get the database and rename it with currentdate, close the connexion ?
View Replies
View Related
I want to add code to the URL so on click will be performed login action with some username and password (ex. h t t p : / / w w w . s o m e - s i t e . c o m /login&username=USER&password=PASS)
I think I wrote total nonsense, but I think you know what I am talking about
If someone want to help me here is that site I want to perform auto login: ...
View Replies
View Related
if there is a way to have a page print automatically, with no dialog box when the page loads, using VBScript or Javascript. This will be an intranet application, running in IE6. I will have control over the browser settings, so those wont be a problem.
View Replies
View Related
As u see that in yahoo messanger it provide facility for auto fill login and password for specific system. If we want to see our yahoo messanger in my personal sysem then we dont require to fill this user id and password. It automatically fills user id and password. I want to do it in asp.
View Replies
View Related
Is there any way to create automatic generation number like, INW001.......INW002.... ans so on without using any code in ms-access using "autonumber" type with default value.
or
Can you give me the code for creating automatic generation of numbers for a column IDNO , using alphanumeric.
Eg: INW001 , Next should be INW002 ,....... INW010 and so on
View Replies
View Related
where I can get a script which will automatically print a page when its entered or when a form has been submitted. Ive tried to find a script to do such a fing but I really cant find anything to support it.
View Replies
View Related
Is there a way to automatically execute code in ASP? I need to send reminders for one my applications and need some suggestions . how I can send reminder emails automatically.
View Replies
View Related
I have a database that displays an editable record, with buttons for changing to different records. I was wondering if there was a way to store a template email, and have a link on the page that, when clicked, fills the records info into the email and sends it?
View Replies
View Related
I have a service request form in asp, which takes a bunch of data (name, id, etc). it then has 2 checkboxes, either or both of which can be checked to request a certain service. depending on which box is checked, the other data collected is inserted into a corresponding database. what is the best way to do this?
can i just use 2 IF statements (not nested) to open the connections to the databases?
View Replies
View Related
I'm building a wizard-type site and I have a form that has a fair amount of
information being posted page to page until it reaches the end where it has
all of the data from Page 1 - Page 5.
For future reference more than anything...is there a way to post all of the
data coming from a previous page to the next page? Basically I just wrote
out all of the values I received on each page into hidden variables and then
posted that to the next page every time. Is there a simpler way?
View Replies
View Related
If you have an SQL error, response.write your SQL including all variables to the browser.
If I had a dollar for every error that could be fixed in about 15 seconds after doing this, I'd have like at least 15 bucks.
View Replies
View Related