Can someone tell me if it is possible to store the contents of a TEXT AREA
field in HIDDEN FIELD in another page after the initial form containing the
textarea is submittted....
I need to do this to seamlessly present the submitted data in an attractive
format while hiding his submitted data in the hidden field...but I am not
sure if there are restrictions of eg 255 characters for a hidden field?
Many thanks
Jason 7 10667
Hidden should have the same character allotment as textarea...
--
Aaron Bertrand
SQL Server MVP http://www.aspfaq.com/
"jason" <ja***@catamara nco.com> wrote in message
news:eG******** ******@tk2msftn gp13.phx.gbl... Can someone tell me if it is possible to store the contents of a TEXT AREA field in HIDDEN FIELD in another page after the initial form containing
the textarea is submittted....
I need to do this to seamlessly present the submitted data in an
attractive format while hiding his submitted data in the hidden field...but I am not sure if there are restrictions of eg 255 characters for a hidden field?
Many thanks Jason
"jason" <ja***@catamara nco.com> wrote in message
news:eG******** ******@tk2msftn gp13.phx.gbl...
.. . . I am not sure if there are restrictions of eg 255 characters for a hidden field?
None that I know of. A Hidden field should be able to hold just as
much as a textarea. Where you /may/ be having problems is passing
that field back to the server when the page is submitted. Make sure
you use the POST action in the HTML form tag; GET has *severe*
limitations on the amount of data it can submit.
HTH,
Phill W.
"jason" <ja***@catamara nco.com> wrote in message
news:eG******** ******@tk2msftn gp13.phx.gbl... ...but I am not sure if there are restrictions of eg 255 characters for a hidden field? http://www.aspfaq.com/2223
Regards,
Peter Foti
Hang on a sec...
The article says that in IIS 4.0 there is a 2Mb limit on POST data, and in
IIS 5.0 the limit is 128k. SURELY that's a typo...it seems strange to me
that we should go up a version and down in size.
- Wm
William Morris
Product Development, Seritas LLC
"Peter Foti" <pe****@systoli cnetworks.com> wrote in message
news:vr******** ****@corp.super news.com... "jason" <ja***@catamara nco.com> wrote in message news:eG******** ******@tk2msftn gp13.phx.gbl......but I am not sure if there are restrictions of eg 255 characters for a hidden field?
http://www.aspfaq.com/2223
Regards, Peter Foti
"It's not a typo. 128k is the default." That's the quote as best as I
remember from a post yesterday or the day before from the person who wrote
the page.
Ray at work
"William Morris" <NO************ **@seamlyne.com > wrote in message
news:bp******** *****@ID-205671.news.uni-berlin.de... Hang on a sec...
The article says that in IIS 4.0 there is a 2Mb limit on POST data, and in IIS 5.0 the limit is 128k. SURELY that's a typo...it seems strange to me that we should go up a version and down in size.
- Wm
William Morris Product Development, Seritas LLC
"Peter Foti" <pe****@systoli cnetworks.com> wrote in message news:vr******** ****@corp.super news.com... "jason" <ja***@catamara nco.com> wrote in message news:eG******** ******@tk2msftn gp13.phx.gbl......but I am not sure if there are restrictions of eg 255 characters for a hidden
field? http://www.aspfaq.com/2223
Regards, Peter Foti
As Ray stated, 128k is the *DEFAULT* ... not the *MAXIMUM*. And reducing
this limit certainly makes sense, when you consider that a good portion of
the buffer overrun and other exploits that took over the Internet in recent
years utilized the high default allowance of POST. Of course you have the
ability to override this and change the default behavior (after all, it is
your network), however it is now a little safer out of the box.
--
Aaron Bertrand
SQL Server MVP http://www.aspfaq.com/
"William Morris" <NO************ **@seamlyne.com > wrote in message
news:bp******** *****@ID-205671.news.uni-berlin.de... Hang on a sec...
The article says that in IIS 4.0 there is a 2Mb limit on POST data, and in IIS 5.0 the limit is 128k. SURELY that's a typo...it seems strange to me that we should go up a version and down in size.
- Wm
William Morris Product Development, Seritas LLC
"Peter Foti" <pe****@systoli cnetworks.com> wrote in message news:vr******** ****@corp.super news.com... "jason" <ja***@catamara nco.com> wrote in message news:eG******** ******@tk2msftn gp13.phx.gbl......but I am not sure if there are restrictions of eg 255 characters for a hidden
field? http://www.aspfaq.com/2223
Regards, Peter Foti
Thanks guys - question answered - I just tested and more than capable of
holding current textarea data...
"jason" <ja***@catamara nco.com> wrote in message
news:eG******** ******@tk2msftn gp13.phx.gbl... Can someone tell me if it is possible to store the contents of a TEXT AREA field in HIDDEN FIELD in another page after the initial form containing
the textarea is submittted....
I need to do this to seamlessly present the submitted data in an
attractive format while hiding his submitted data in the hidden field...but I am not sure if there are restrictions of eg 255 characters for a hidden field?
Many thanks Jason This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Grey |
last post by:
I have created a asp.net form for user to input data. After input the data,
user need to click a button to export the input data to excel for data
analysis with excel pivot table function. is it possible to do that?? if so,
any sample for me as i am a new in designing pivot table with asp.net
million thanks
|
by: Jim B |
last post by:
I am new to VB.NET and have a question on validating user input from a
Text Box. I'm writing a small program where I want to check the users
input data and determine if it's an Integer or a Decimal. I guess I
want to go one step further than just checking for IsNumeric. I have
searched this Work Groups' database and did not find exactly what I
need. I have tried GetType, VarType, and the Val Function using the
Text Box data, without...
|
by: Magnus |
last post by:
I'm currently developing an application with classified information as
input to a couple of algorithms.
Which strategy should I use to protect the input data from beeing read?
The files should be files on the local computer in the application
directory structure and it must be possible to update the input data
with an external application.
My current approach is to deserialize the input data in the "external
application" and then...
|
by: stathis gotsis |
last post by:
Hello everyone,
I am tying to come up with an elegant way to process some input data that
come from a form. When the user hits the 'Submit' button, i want the form to
appear again with the already entered valid data filled in and prompt the
user to re-enter the non-valid data. If all data is valid, i will forward to
an other .php page which enters the data into a database.
I tried to do this in the following way: the form always hits...
|
by: JJ |
last post by:
Is it possible to count the number of columns that match certain conditions
and return a single value?
For example in the database we have a record where:
Column 1 = Male
Column 2 = A
Column 3 = B
Column 4 = D
Column 5 = M
| |
by: siddarthaps |
last post by:
I have a program in C++. It needs to input data from an EXCEL worksheet. How to input data stored in EXCEL into C++????
|
by: Vyas111111 |
last post by:
Hello all,
I am working on ASP.net web service using C# i want to validate the input data , is there any way in the web service to validate the input data.
Thanks in advance.
|
by: idsanjeev |
last post by:
how can check the input data is character or numeric if input data accept the numeric and input data is character then error message
|
by: idsanjeev |
last post by:
how can check the input data is character or numeric if input data accept the numeric and input data is character then error message
|
by: eko99312 |
last post by:
Dear All,
As you know that input data on excel is easy than access, you can simple click the date that you prefer and input the value that you want. For example :
Consider that the month that I use is November 2009 :
If i use excel it will look like this,
Country Day in a month
1 2 3 4 5
Australia 4 3
China 5 2
|
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: 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,...
|
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: 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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |