473,668 Members | 2,600 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP & Form Submission....w hy do they hate me?

I have a very large HTML form (with about 50 fields) that's being
submitted to an ASP page via the "POST" method. I don't use "GET"
because the data would probably exceed the limit allowed in the query
string.

Anyway, this is probably irrelevant, but this form gets submitted to a
SQL Server 2000 DB.

This form has been working for awhile now. I went in and added a few
if/else statements here and there and when I tried to submit the form
for a test, I get an error.

As it turns out there's nothing wrong with what I entered. I did a
bunch of Response.Write lines to see what the
Request.Form("f ield_name") lines were returning and they were all
empty!! The Request.Form stopped pulling the information from the
form. I even removed the new code I added and the form STILL didn't
work.

This is driving me crazy because this type of thing happens often
until the ASP page decides it wants to work again. It's also a huge
waste of my time because now I have to screw around with the ASP page
to try to get it to work again when there's nothing wrong with the
code.

Sometimes, half of the Request.Form()s work and the other half won't.
If I move a Request.Form() line that's not working above one that is
working, then it'll work.

Sometimes, if i delete all the ASP code, save it, refresh the page,
paste the ASP code back in, refresh the page again, then it works.
Neither of these things are doing the trick this time.

I would post the code, but I feel it's pointless because there's
nothing wrong with it.

Has this happened to anyone before?
Jul 19 '05 #1
5 1664
"Jeremy" <jc***@belzon.c om> wrote in message
news:7a******** *************** ***@posting.goo gle.com...
I have a very large HTML form (with about 50 fields) that's being
submitted to an ASP page via the "POST" method. I don't use "GET"
because the data would probably exceed the limit allowed in the query
string.

Anyway, this is probably irrelevant, but this form gets submitted to a
SQL Server 2000 DB.

This form has been working for awhile now. I went in and added a few
if/else statements here and there and when I tried to submit the form
for a test, I get an error.
Sounds like you broke something. What's the error?
As it turns out there's nothing wrong with what I entered. I did a
bunch of Response.Write lines to see what the
Request.Form("f ield_name") lines were returning and they were all
empty!! The Request.Form stopped pulling the information from the
form. I even removed the new code I added and the form STILL didn't
work.

This is driving me crazy because this type of thing happens often
until the ASP page decides it wants to work again. It's also a huge
waste of my time because now I have to screw around with the ASP page
to try to get it to work again when there's nothing wrong with the
code.

Sometimes, half of the Request.Form()s work and the other half won't.
If I move a Request.Form() line that's not working above one that is
working, then it'll work.

Sometimes, if i delete all the ASP code, save it, refresh the page,
paste the ASP code back in, refresh the page again, then it works.
Neither of these things are doing the trick this time.

I would post the code, but I feel it's pointless because there's
nothing wrong with it.
It would help if you at least posted the exact error message - that's a good
indication of what the problem is.
Has this happened to anyone before?


All the time.

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #2
try using something like

for each x in request.form
response.write x & " " & request.form(x) & <br />
next

instead of writting out request.forms for each field. this will help you
debug much easier too.
"Jeremy" <jc***@belzon.c om> wrote in message
news:7a******** *************** ***@posting.goo gle.com...
I have a very large HTML form (with about 50 fields) that's being
submitted to an ASP page via the "POST" method. I don't use "GET"
because the data would probably exceed the limit allowed in the query
string.

Anyway, this is probably irrelevant, but this form gets submitted to a
SQL Server 2000 DB.

This form has been working for awhile now. I went in and added a few
if/else statements here and there and when I tried to submit the form
for a test, I get an error.

As it turns out there's nothing wrong with what I entered. I did a
bunch of Response.Write lines to see what the
Request.Form("f ield_name") lines were returning and they were all
empty!! The Request.Form stopped pulling the information from the
form. I even removed the new code I added and the form STILL didn't
work.

This is driving me crazy because this type of thing happens often
until the ASP page decides it wants to work again. It's also a huge
waste of my time because now I have to screw around with the ASP page
to try to get it to work again when there's nothing wrong with the
code.

Sometimes, half of the Request.Form()s work and the other half won't.
If I move a Request.Form() line that's not working above one that is
working, then it'll work.

Sometimes, if i delete all the ASP code, save it, refresh the page,
paste the ASP code back in, refresh the page again, then it works.
Neither of these things are doing the trick this time.

I would post the code, but I feel it's pointless because there's
nothing wrong with it.

Has this happened to anyone before?

Jul 19 '05 #3
Thanks for the reply. I have an variable that does a request.form on a
set of checkboxes. I'm separating each item in that variable into an
array by doing:

chbox_array = split(var,",")

Then I do an If/Else statement and get a "subscript out of range error"
on chbox_array(0).

When I do a response.write on "var" it's empty (so are all the other
variables)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #4
[ + 2 0 r p 3 ],

That's a great idea!! Thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #5
Jeremy Capp <jc***@belzon.c om> wrote in message news:<Op******* *******@TK2MSFT NGP11.phx.gbl>. ..
Thanks for the reply. I have an variable that does a request.form on a
set of checkboxes. I'm separating each item in that variable into an
array by doing:

chbox_array = split(var,",")

Then I do an If/Else statement and get a "subscript out of range error"
on chbox_array(0).

When I do a response.write on "var" it's empty (so are all the other
variables)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Are you sure you didn't remove the <form></form> tag from your HTML,
or that the checkboxes are still within the appropriate <form> tag?
Jul 19 '05 #6

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

Similar topics

5
6084
by: Richard Cornford | last post by:
I am interested in hearing opinions on the semantic meaning of FORM (elements) in HTML. I have to start of apologising because this question arose in a context that is not applicable to the Internet. Specifically, marking up a document that will contain multiple related form controls (intended exclusively for client-side scripting) that would never be intended to be submitted. I realise that that concept is a non-starter in an Internet...
0
1515
by: Toby Inkster | last post by:
Like me, you are probably confronted with many requests for surveys, questionnaires, feedback forms, registration forms and so forth: forms where the processing requirements are very simple (store in a database or e-mail to a particular address). Despite the simple requirements, there is often quite a lot of work involved: crafting a database to store results, writing a function to store the data to the database, one to verify submitted...
11
6426
by: Jeremy | last post by:
How can one stop a browser from converting &amp; to & ? We have a textarea in our system wehre a user can type in some html code and have it saved to the database. When the data is retireved and
0
2502
by: YellowFin Announcements | last post by:
Introduction Usability and relevance have been identified as the major factors preventing mass adoption of Business Intelligence applications. What we have today are traditional BI tools that don't work nearly as well as they should, even for analysts and power users. The reason they haven't reached the masses is because most of the tools are so difficult to use and reveal so little
6
1831
mmarif4u
by: mmarif4u | last post by:
Hi everyone. i make a page that a user input thier icnumber with confirm ic number, it saves the data to mysql db with current date and a random access code generated automatically, NOW i have some problems facing.. 1: How to match both txt box vlaues that r same or not.Is there php code for it. 2: I want to put a print button in the code where the code display the page after entring the icnumber and after submit. 3: How to show the...
0
5558
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted ******************************************************** For this teeny job, please refer to: http://feeds.reddit.com/feed/8fu/?o=25
39
4704
by: dancer | last post by:
Can somebody tell me why I get this message with the following code? Compiler Error Message: BC30452: Operator '&' is not defined for types 'String' and 'System.Web.UI.WebControls.TextBox'. <html> <head> <% @Import Namespace="System.Web.Mail" %>
1
2502
by: Homer | last post by:
Hi, I just got a requirement from my HR department to automate their form submission process and integrate it into the Intranet project that I had just completed Phase 1 of. Because of the short time frame that I've been given, a week to be exact, I do not have the luxury to explore it on my own so here are the requirements: 1. Automate the personnel forms that employees use for changing their information, which is currently in pdf...
3
4000
by: webmasterATflymagnetic.com | last post by:
Folks, I'm struggling to put the question together, but I have this problem. I have written an HTML form that I can use for data entry. This uses PHP to write a SQL UPDATE command that gets written to my MySQL database. I can later view this data back in the form. One thing I've noticed happening is if I enter code such as &lt; it gets rewritten as < (ie the less-than sign). Now I don't want this to happen, but something somewhere is...
0
8459
marktang
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...
1
8572
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
8652
tracyyun
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...
0
7391
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
6206
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
5677
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();...
1
2782
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
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1779
bsmnconsultancy
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...

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.