Form Post.

T

Thomas

Why does this just display empty values:

<%
strGroup1=request.form("frmPicks.grp1.value")
strGroup2=request.form("frmPicks.grp2.value")
strGroup3=request.form("frmPicks.grp3.value")
strGroup4=request.form("frmPicks.grp4.value")
strGroup5=request.form("frmPicks.grp5.value")
strGroup6=request.form("frmPicks.grp6.value")

'The following four lines of code are just here for test
'purposes to see what variable values have been pulled in from the
'HTM form.

response.Write("Group1 = " & strGroup1) & "<BR>"
response.Write("Group2 = " & strGroup2) & "<BR>"
response.Write("Group3 = " & strGroup3) & "<BR>"
response.Write("Group4 = " & strGroup4) & "<BR>"
response.Write("Group5 = " & strGroup5) & "<BR>"
response.Write("Group6 = " & strGroup6) & "<BR>"
%>

Thanks.
 
B

Bob Barrows

Thomas said:
Why does this just display empty values:

<%
strGroup1=request.form("frmPicks.grp1.value")
strGroup2=request.form("frmPicks.grp2.value")
strGroup3=request.form("frmPicks.grp3.value")
strGroup4=request.form("frmPicks.grp4.value")
strGroup5=request.form("frmPicks.grp5.value")
strGroup6=request.form("frmPicks.grp6.value")

'The following four lines of code are just here for test
'purposes to see what variable values have been pulled in
from the 'HTM form.

response.Write("Group1 = " & strGroup1) & "<BR>"
response.Write("Group2 = " & strGroup2) & "<BR>"
response.Write("Group3 = " & strGroup3) & "<BR>"
response.Write("Group4 = " & strGroup4) & "<BR>"
response.Write("Group5 = " & strGroup5) & "<BR>"
response.Write("Group6 = " & strGroup6) & "<BR>"
%>
Maybe because your form has no elements with names like
"frmPicks.grp1.value"

To see the actual keys of the data in this request.form collection, do this:

<%
for each key in request.form
response.write key & " contains: """ & request.form(key) & """<BR>"
next
%>
 
T

Thomas

Hi Bob,

When I run you line of code (everything else commented out), I get nothing
displayed in the browser either.

Here is part of the form MTHL:

<form name="frmPicks" method="post" action="ProcessSeriesPicks.asp"
enctype="text/plain" id="Form1">

In ProcessSeriesPicks.asp, I have nothing but your code.

I've tried this in IE6 and FF3.08
 
A

Adrienne Boswell

Why does this just display empty values:

<%
strGroup1=request.form("frmPicks.grp1.value")
strGroup2=request.form("frmPicks.grp2.value")
strGroup3=request.form("frmPicks.grp3.value")
strGroup4=request.form("frmPicks.grp4.value")
strGroup5=request.form("frmPicks.grp5.value")
strGroup6=request.form("frmPicks.grp6.value")

'The following four lines of code are just here for test
'purposes to see what variable values have been pulled in
from the 'HTM form.

response.Write("Group1 = " & strGroup1) & "<BR>"
response.Write("Group2 = " & strGroup2) & "<BR>"
response.Write("Group3 = " & strGroup3) & "<BR>"
response.Write("Group4 = " & strGroup4) & "<BR>"
response.Write("Group5 = " & strGroup5) & "<BR>"
response.Write("Group6 = " & strGroup6) & "<BR>"
%>

Thanks.

Please, please stop posting in HTML. Look at Outlook Express's help to
find out how to do this.

Then look at the response to your other post [Form Processing (wrong
forum)]
 
T

Thomas

Sorry bout that, I was using a friends computer. Set to plain text....

Problem seems to have been with FF. I cleared cache and now it seems to work
fine. Tired with IE6 (cleared cache as well).

Thanks to all.
Adrienne Boswell said:
Why does this just display empty values:

<%
strGroup1=request.form("frmPicks.grp1.value")
strGroup2=request.form("frmPicks.grp2.value")
strGroup3=request.form("frmPicks.grp3.value")
strGroup4=request.form("frmPicks.grp4.value")
strGroup5=request.form("frmPicks.grp5.value")
strGroup6=request.form("frmPicks.grp6.value")

'The following four lines of code are just here for test
'purposes to see what variable values have been pulled in
from the 'HTM form.

response.Write("Group1 = " & strGroup1) & "<BR>"
response.Write("Group2 = " & strGroup2) & "<BR>"
response.Write("Group3 = " & strGroup3) & "<BR>"
response.Write("Group4 = " & strGroup4) & "<BR>"
response.Write("Group5 = " & strGroup5) & "<BR>"
response.Write("Group6 = " & strGroup6) & "<BR>"
%>

Thanks.

Please, please stop posting in HTML. Look at Outlook Express's help to
find out how to do this.

Then look at the response to your other post [Form Processing (wrong
forum)]


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
 
B

Bob Barrows

Thomas said:
Why does this just display empty values:

<%
strGroup1=request.form("frmPicks.grp1.value")
strGroup2=request.form("frmPicks.grp2.value")
strGroup3=request.form("frmPicks.grp3.value")
strGroup4=request.form("frmPicks.grp4.value")
strGroup5=request.form("frmPicks.grp5.value")
strGroup6=request.form("frmPicks.grp6.value")

'The following four lines of code are just here for test
'purposes to see what variable values have been pulled in
from the 'HTM form.

response.Write("Group1 = " & strGroup1) & "<BR>"
response.Write("Group2 = " & strGroup2) & "<BR>"
response.Write("Group3 = " & strGroup3) & "<BR>"
response.Write("Group4 = " & strGroup4) & "<BR>"
response.Write("Group5 = " & strGroup5) & "<BR>"
response.Write("Group6 = " & strGroup6) & "<BR>"
%>

Thanks.

This looks familiar ... didn't I already answer this somewhere?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top