|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
I have an asp results page that returns results depending on their search criteria. I'd like to give them the option of clicking on check boxes in order to narrow down their results. Do I put the <form> tags outside these results? Because if it returns many results, will it work if each result has the same select name?
__________________
Hope you are having a good day. |
|
#2
|
|||
|
|||
|
try to save your sql statement in a session then just append the search criteria as they try to narrow it down
|
|
#3
|
||||
|
||||
|
I think if the form has more than one select with the same name ... when it gets submitted/posted
The recieving page recieves an array in the same order they are presnted on the page (e.g.) <FORM> <SELECTorINPUT name = "a" value = "s"> <SELECTorINPUT name = "a" value = "v"> <SELECTorINPUT name = "a" value = "q"> </FORM> lets say it is posted, the Request.Form("a") will be an array where arr = Request.Form("a") arr(0) will be s arr(1) will be v arr(2) will be q I am not 100% sure about this .. if I am wrong please correct me. ![]() |
|
#4
|
|||
|
|||
|
Yep
Thanks everyone. I got it.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Refining search results |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|