VS.NET 2002/VB
Is it possible to retrieve HTML form variables that are hidden input types using
Request.QuerySt ring() and/or Request.Form()?
I have tried various ways of using those, but to no avail. My HTML form method is set to POST, and I
thought I had read somewhere that this could be done.
If it is not possible, is there any way to retrieve HTML form variables into my .aspx page?
Thanks,
George 2 2629
Request.QuerySt ring is only for parameters passed in the URL.
Request.Form works very nicely for retrieving posted hidden controls.
"George" <------@----.---> wrote in message
news:QC******** ***********@bgt nsc05-news.ops.worldn et.att.net... VS.NET 2002/VB
Is it possible to retrieve HTML form variables that are hidden input types
using Request.QuerySt ring() and/or Request.Form()?
I have tried various ways of using those, but to no avail. My HTML form
method is set to POST, and I thought I had read somewhere that this could be done.
If it is not possible, is there any way to retrieve HTML form variables
into my .aspx page? Thanks, George
Marina,
Actually, I didn't really explain my problem very well.
I have an .htm page that uses an HTML form button to open my .aspx page in a new window without any
buttons on it. That may be why I can't retrieve my hidden inputs in the HTML form, because, even
though the method is set to POST, the action is set to call a javascript function that uses
window.open() to open my .aspx page in the new window, instead of the action being set to call the
..aspx page directly.
I am not certain, but is it possible to retrieve those hidden inputs like that? If not, is there
anyway of doing it?
Thanks,
George
"Marina" <so*****@nospam .com> wrote in message news:eR******** ******@TK2MSFTN GP09.phx.gbl... Request.QuerySt ring is only for parameters passed in the URL.
Request.Form works very nicely for retrieving posted hidden controls.
"George" <------@----.---> wrote in message news:QC******** ***********@bgt nsc05-news.ops.worldn et.att.net... VS.NET 2002/VB
Is it possible to retrieve HTML form variables that are hidden input types using Request.QuerySt ring() and/or Request.Form()?
I have tried various ways of using those, but to no avail. My HTML form method is set to POST, and I thought I had read somewhere that this could be done.
If it is not possible, is there any way to retrieve HTML form variables into my .aspx page? Thanks, George
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: michaaal |
last post by:
What is the difference between these two statements? They seem to do the
same thing...
response.write(request("variable"))
response.write(request.querystring("variable"))
|
by: John Davis |
last post by:
I want to know what's the differences between
Request.Form("Field Name") and
Request.QueryString("Field Name")
OR they function exactly the same, which is to return the value of the
field??
Thanks,
John
|
by: Matt |
last post by:
If we use GET protocol, we can use either Request("controlname") or
Request.QueryString("controlname") to get the data entered by the user. But
if we use POST protocol, we MUST use Request("controlname"), and
Request.QueryString("controlname") won't work. I think
Request("controlname") means Request.Form("controlname"), which is used for
POST protocol. But seems like it works for GET protocol too.
Here's the code I tested.
<%
|
by: momo |
last post by:
Hello Newsgroup,
I want to pass a Request.Form variable to an ASP form, through the url
for example lets say i have a form with a textfiled called "txtName" if i
click the submit button for example the asp page reads the content of this
txtName as Request.Form("txtName")
I want to achieve that the asp form is accessed through a URL where i can
pass the value of txtName without going to the page of the form and clicking
|
by: Ivan |
last post by:
hi,
I saw some program using "request("fieldname") " instead of
"request.QueryString" to get the value from URL, what's the different ??
thanks
| |
by: Anders Borum |
last post by:
Hello!
I would like to request a new method on the XsltArgumentList class, allowing
developers to check the presense of a key/value pair. If you try to add a
key/value pair that has already been defined in the list, an exception is
thrown.
Rather than using the "GetParam" method, it would be usefull to have a
method called ".Exists" available on the XsltArgumentList. I think this
allows for cleaner and more readable code. Or, perhaps...
|
by: eric.goforth |
last post by:
Hello,
I'm working with a classic asp page that calls another classic asp
page. The html in my calling page looks like:
<form method="post"
action="/includes/mypage2.asp?subtype=MyType&ecd=1&eid=97702">
....Do some stuff
|
by: =?Utf-8?B?QVRT?= |
last post by:
PRB JavaScript in ASP with Request.Form
Please help,
I'm having a problem with JavaScript in ASP, where the ASP page crashes when
I try to determine if data was posted from a FORM or through a QueryString.
Where, if the data came through via a FORM, I want to use it 1st, but if not,
to then try using it from the QueryString. Basically, the problem boils down
to using "toString()" on Request.Form("NAME") and Request.QueryString("NAME")...
|
by: =?Utf-8?B?QVRT?= |
last post by:
HOWTO Make CStr for JavaScript on ASP w/ Request.Form and QueryString
In ASP, Request.Form and Request.QueryString return objects that do not
support "toString", or any JavaScript string operation on parameters not
passed.
Example: Make a TST.asp and post to it as TST.asp?STATE=TEST
<%@ Language=JavaScript %>
<%
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |