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("field_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? 5 1657
"Jeremy" <jc***@belzon.com> wrote in message
news:7a**************************@posting.google.c om... 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("field_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/
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.com> wrote in message
news:7a**************************@posting.google.c om... 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("field_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?
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!
[ + 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!
Jeremy Capp <jc***@belzon.com> wrote in message news:<Op**************@TK2MSFTNGP11.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? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
by: Jeremy |
last post by:
How can one stop a browser from converting
&
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...
|
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...
|
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...
|
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...
|
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'.
...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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...
|
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,...
|
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...
|
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...
|
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,...
| |