Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

How do you pass both the Name and value of menu?

Posted 28 May 2002 10:27:35
1
has voted
28 May 2002 10:27:35 b w posted:
I need to pass the name and value of a menu/list. I can pass the value no problem but how about the name of the menu/list also?
ie
name value
==== ====

sch40 1
6445 2

collecting is a text box

<pre id=code><font face=courier size=2 id=code>
&lt;input type="text" size="10" readonly class="greyedout" name="txttype" value="&lt;%= Request.Form("selecttype" %&gt;
</font id=code></pre id=code>

I think I have to change something in the

value="&lt;%= Request.Form("selecttype"

to just transfer the name only.

any ideas?

IIS5,vbscript

Replies

Replied 28 May 2002 11:00:32
28 May 2002 11:00:32 David Behan replied:
I haven't seen this before so I am unsure if the selecttype would work. Never tried it. What I would do is Creat a recordset on the post to page that will filter the recordset on the value selected. Then all you have to do is pull out the select name corresponding to the value.

Cheeurs

_________________________
David Behan - www.site-manager.com/af.asp?a=11&l=1tds9p6x2

Reply to this topic