473,224 Members | 1,345 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

too much text in textarea, submit does nothing with "get" how to use "post"

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, and then press the submit button everything
works fine.

Now I read that a way to fix this problem is to use the following:

<form name="form1" action="<%= Request.ServerVariables("SCRIPT_NAME")
%>" method="Get"> --> HERE REPLACE "Get" with "Post"

Now this works great and the form will submit, but I can't later call
Request.QueryString("ProbDescription") and get the data back. So my
question is when I use this Post function how do I save off data, and
get it back when I need it? Also how do I pass this data from one
page to the next?

If you have any idea on how I can fix this problem please let me know.
I have posted the test code I used below, and if you run it and try
and put more than 2500 characters in it nothing happens.

<% @ LANGUAGE = VBScript %>
<% Option Explicit %>
<%

%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Welcome to FirstLogic DRC</title>
<style>

</style>
</head>
<Body>

<form name="form1" action="<%= Request.ServerVariables("SCRIPT_NAME")
%>" method="Get">
<H5><TEXTAREA name="ProbDescription" rows=4 cols=58 style="border: 1
solid #000000"></textarea><br><br>
<input type="submit" value="Test" id=submit1 name=submit1>&nbsp;
</form>
<%
Response.Write Request.QueryString("ProbDescription")
%>

</body>
</html>
Jul 19 '05 #1
1 5316
Use Request.Form instead of REquest.querystring.

Ray at work

"Pete Mahoney" <la***********@students.uwlax.edu> wrote in message
news:18**************************@posting.google.c om...
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, and then press the submit button everything
works fine.

Now I read that a way to fix this problem is to use the following:

<form name="form1" action="<%= Request.ServerVariables("SCRIPT_NAME")
%>" method="Get"> --> HERE REPLACE "Get" with "Post"

Now this works great and the form will submit, but I can't later call
Request.QueryString("ProbDescription") and get the data back. So my
question is when I use this Post function how do I save off data, and
get it back when I need it? Also how do I pass this data from one
page to the next?

If you have any idea on how I can fix this problem please let me know.
I have posted the test code I used below, and if you run it and try
and put more than 2500 characters in it nothing happens.

<% @ LANGUAGE = VBScript %>
<% Option Explicit %>
<%

%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Welcome to FirstLogic DRC</title>
<style>

</style>
</head>
<Body>

<form name="form1" action="<%= Request.ServerVariables("SCRIPT_NAME")
%>" method="Get">
<H5><TEXTAREA name="ProbDescription" rows=4 cols=58 style="border: 1
solid #000000"></textarea><br><br>
<input type="submit" value="Test" id=submit1 name=submit1>&nbsp;
</form>
<%
Response.Write Request.QueryString("ProbDescription")
%>

</body>
</html>

Jul 19 '05 #2

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

Similar topics

7
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...
3
by: Greg Alaksdjflk | last post by:
How do I create a form that allows one to submit a form, then press the "BACK" button on the browser, and allow the user to see the data he posted? It seems as though this information is lost. ...
12
by: Me | last post by:
Hi, I would like learn from people with experience in C++, which of the following styles of way to construct "get/set" member functions would be the best in terms of usability, speed, et cetera. ...
0
by: San Diego Guy | last post by:
Hi all! I have Datagrid. Within that datagrid I have a drop down list that I set up some values in (a "collection") I set up an edit command column on the datagrid and wrote simple code to get...
12
by: Assaf | last post by:
Hi all, My client is using an online service provider that processes survey responses. After a user fills survey.aspx and presses the OK button, 2 things need to happen: 1. the data has to...
5
by: Jeff | last post by:
Visual Studio 2003 DotNet framework 1.1 Windows 2000 Pro I create two pages in an Asp.net application, one is html page with a form in it: .... <form id="testForm" method="post"...
6
by: James MA | last post by:
I'm now writing a small program to communicate a web server to simulate a web client. I use te httpwebrequest to talk with the server, and it works find for "POST" method, however, when i test...
14
by: Robert S | last post by:
I am trying to use POST to transfer data to another page. When I do this, '.' characters get converted to"_". For example: #index.html: <form action="test.php" method="post"> <input...
14
by: terrible.theterrible4 | last post by:
Hello w3c,php, fedora + apache experts! Is there code I can use for POST A COMMENT? I am not ready for PHP yet. Anybody did it in JS?
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.