Ah no, my error completely!
Of course, it was a multiple select box, and I hadn't selected any options!
However, I don't want users to have to reselect the data they have just put
into the box...
and that works! All I have to do then is strip the data I need out of the
string and stick it in an array. Perfect.
From: Joe Hughes [mailto:JoeHughes@M...]
Sent: 08 August 2002 09:28
To: Pro ASP HowTo
Subject: [proasp_howto] Re: request.form not picking up data
Have you tried doing a response.write on just request.form or
request.querystring, without requesting a particular item in the collection
Another test it to put a static form item just before the select box, and
see if that gets submitted with the form. I suppose a simple <INPUT
TYPE=HIDDEN NAME=TEST VALUE=TEST> Would do.
Where you said "populate the right hand side box" - is this box a <SELECT>
box or a <INPUT TYPE=TEXT> box? If it is a select box, is it a multiple
select box, or a "DropDown"? If it is a multiple select box, it will only
submit data when you select something. If its a dropdown is should submit
the default selection. I think the only test is to put a couple of plain old
INPUTs on the form in and around the dynamic field. Submit the form, and see
if the data from the static items is there. If it isn't, then i think the
form tags may be in the wrong place or the form method may be wrong.
Give that a go and tell us how you get on
----- Original Message -----
From: "Dave Savage" <dave@w...>
To: "Pro ASP HowTo" <proasp_howto@p...>
Sent: Thursday, August 08, 2002 1:19 AM
Subject: [proasp_howto] request.form not picking up data
> I have a section within my web app which I have styled much like (say) MS
> Access Query Wizard, where there is a long select box of options on the
> can double click on my left hand side options and dynamically populate the
> know that the correct option values and text have been sent over, plus I
> see it visually. However, when I submit the form ASP will not acknowledge
> that the dynamically populated field in the form has any data in it, this
> obviously a great problem in trying to update the db from these values!
> wont recognise the data.
> Anyone have any ideas on this issue?