473,667 Members | 2,562 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

submit() QueryString data

Hi,

Is there a way to append the QueryString data when using
<Script>documen t.FrmName.submi t()</Script>
Thank's in advance
serge

Jul 19 '05 #1
4 1516
in the page load capture it and append it to the Action of the form tag

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Serge Myrand" <in**@softdelir ium.qc.ca> wrote in message
news:40******** *******@softdel irium.qc.ca...
Hi,

Is there a way to append the QueryString data when using
<Script>documen t.FrmName.submi t()</Script>
Thank's in advance
serge

Jul 19 '05 #2
Hi,

I cannot find anything on page load or OnLoad. Are you talking about an
event? .NET? Any example?

thank's
serge

"Curt_C [MVP]" wrote:
in the page load capture it and append it to the Action of the form tag

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Serge Myrand" <in**@softdelir ium.qc.ca> wrote in message
news:40******** *******@softdel irium.qc.ca...
Hi,

Is there a way to append the QueryString data when using
<Script>documen t.FrmName.submi t()</Script>
Thank's in advance
serge


Jul 19 '05 #3
He's referring to classic ASP...not .NET. If you're looking for a .NET
solution, you're in the wrong newsgroup. If you're doing this with classic
ASP, he means that you should utilize javascript to modify the action
attribute of the form you are posting. Within the javascript function, you
modify the append the querystring you want to the action attribute, then you
can submit the form via javascript as well...and life is good.

"Serge Myrand" <in**@softdelir ium.qc.ca> wrote in message
news:40******** *******@softdel irium.qc.ca...
Hi,

I cannot find anything on page load or OnLoad. Are you talking about an
event? .NET? Any example?

thank's
serge

"Curt_C [MVP]" wrote:
in the page load capture it and append it to the Action of the form tag

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Serge Myrand" <in**@softdelir ium.qc.ca> wrote in message
news:40******** *******@softdel irium.qc.ca...
Hi,

Is there a way to append the QueryString data when using
<Script>documen t.FrmName.submi t()</Script>
Thank's in advance
serge

Jul 19 '05 #4
simply
<% here %> at the top of the page, so it's read/parsed FIRST.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Serge Myrand" <in**@softdelir ium.qc.ca> wrote in message
news:40******** *******@softdel irium.qc.ca...
Hi,

I cannot find anything on page load or OnLoad. Are you talking about an
event? .NET? Any example?

thank's
serge

"Curt_C [MVP]" wrote:
in the page load capture it and append it to the Action of the form tag

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Serge Myrand" <in**@softdelir ium.qc.ca> wrote in message
news:40******** *******@softdel irium.qc.ca...
Hi,

Is there a way to append the QueryString data when using
<Script>documen t.FrmName.submi t()</Script>
Thank's in advance
serge

Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
20916
by: Rui Pestana | last post by:
Hello all, I want to use the POST method to submit the form and then grab the parameters in the asp file with request.form("parm"). The problem is that I am using the _search target to open the asp page. When I use _blank target there is no problem, either I use GET or POST method. But when I use _search target, only GET method works.
1
5370
by: Pete Mahoney | last post by:
Ok I use a textarea to store data input by the user, and then upon them clicking the submit button I store this data to a database. The problem is once the user inputs too much data (about 3 paragraphs or 2020 characters) when they click on the submit button nothing happens. When I say nothing happens I mean just that, nothing at all happens the page just sits there as if nothing at all happened. If I remove one line for the textarea,...
3
2902
by: Matt | last post by:
I want to understand the difference between submit button and regular button: <input type="submit"> and <input type="button">. My understanding is that submit button will send the entire HTML form to the web server, but regular button won't. I have a problem that needs to pass HTML elements data back and forth in several ASP pages. I am using regular button to do that. But what's the approaches?? Please advise. Thanks!
7
23649
by: Matt | last post by:
In ASP, when we pass data between pages, we usually pass by query string. If we pass data by query string, that means we need to use submit button, not by regular button, and the form will pass to the server since it's GET or POST request. But if just form-to-form communication, why we need to send the form to the server? Please help clarify. Thanks!! <form action="process.asp" method="get"> //form controls <input type="submit">
3
1727
by: Lukelrc | last post by:
Hi all, I have an asp page with a delete button which has an OnClick Ok/Cancel msgbox event. My problem is that in order to run the Onclick event i've chaged the buttons type from "Submit" to "Button" - and now the buttons value (which i need in the next page) is not passed in the URL. This is what i have tried to do:
3
2081
by: Matt | last post by:
When people say submit the form data, does it mean the form data are submitted to web browser using either HTTP GET or POST method, and then it will redirect to another page. For example, this is page1.aspx <form action="page2.aspx" method="post"> means it will submit the page1.aspx form data to the web server, and then redirect from page1.aspxto page2.aspx?
1
1720
by: Andy Kasotia | last post by:
I have an ASP UI with VB Dll as a COM object that access the DB2 Database. I have a "Calculate" button on the ASP Page which when clicked does form validation (javascript) and submits the form (Javascript) to the same ASP page. When the ASP page receives the form information it stores all the form information in VB properties and then eventually saves it to the Database. After that it retrieves the values back from the VB properties so...
3
2255
by: Chung | last post by:
Hi all, I have used the following code for doing the form submission. I don't think this is a right way to submit a from to a new aspx page because I need to add a dummy form in between. Could anyone tell me a proper way to do this? Looking forward to your reply. Thanks!
5
7521
by: g | last post by:
Hi Guys.. i know this might sound really really simple, but I'm kinda stuck..I have this form..which has a table (created from stored procedure values)..once the table is populated..i have some radio buttons (for each row of the table) and a main submit button. On clicking submit..i want to loop through the table..pick up the first <TDbeing the user ID and the value of the radio button clicked (currently I have my radio button ID set...
0
8365
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8883
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8563
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7390
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6203
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4200
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2013
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.