Board index » Visual Studio » multiple submit buttons>>catching value?

multiple submit buttons>>catching value?

Visual Studio293
Hello



Can someone describe me simple way of how to catch a value from a pressed

submit button where about 6 submit buttons are placed on 1 form with 6

different values?

For example to set a query with an different ORDER by etc.



Friendly greetings,



André


-
 

Re:multiple submit buttons>>catching value?

Page1:



<html>

<head>

</head>

<body>

<form action="Page2.asp" method="post">

<INPUT id="B1" type="button" value="B1" name="CHOICE">

<INPUT id="B2" type="button" value="B2" name="CHOICE">

<INPUT id="B3" type="button" value="B3" name="CHOICE">

</form>

</body>

</html>





Page2.asp



Response.Write UCase(Trim(Request.Item("CHOICE"))





-dlbjr



Discerning resolutions for the alms





-