Author |
Topic |
mfindlay
Junior Member
USA
144 Posts |
Posted - 12 July 2001 : 14:13:29
|
quote:
I see, well this is behond me, thanks anyways.
It did work with the original search.asp and I realize there is more info passed to the search.asp page, I thought it was as simple as using the 'hidden' type of the input tag and passing the required info that way. Sounds like a lot of coding, which I am not familiar with.....
Sylvain Amyot FORUM:http://syltek.dingojunction.com/forum HOME:http://members.home.net/sylvainamyot/
Edited by - samyot on 12 July 2001 13:50:49
If you like you can send me the form that contains the search box and I will see if I can put together a routine that will work for you. (Send me the form containing the simple search box, not the supersearch form, or just post it here, it should be pretty small).
|
|
|
samyot
Junior Member
Canada
242 Posts |
Posted - 12 July 2001 : 14:29:14
|
quote:
If you like you can send me the form that contains the search box and I will see if I can put together a routine that will work for you. (Send me the form containing the simple search box, not the supersearch form, or just post it here, it should be pretty small).
I didn't change the code, it is still:
<form action="http://syltek.dingojunction.com/forum/search.asp?mode=DoIt" method="post"> <font size="3" class="blue" COLOR="blue"><b>Forum Search</b></font> <input size=15 name="search"><br> <font face="arial,helvetica" size="1"><a href="http://syltek.dingojunction.com/forum/search.asp" target="main"><b>ADVANCED SEARCH</b></a></font> <input type=submit value="Search"> </form>
This is what is in my main html page.
Sylvain Amyot FORUM:http://syltek.dingojunction.com/forum HOME:http://members.home.net/sylvainamyot/
|
|
|
mfindlay
Junior Member
USA
144 Posts |
Posted - 13 July 2001 : 00:10:04
|
quote:
quote:
If you like you can send me the form that contains the search box and I will see if I can put together a routine that will work for you. (Send me the form containing the simple search box, not the supersearch form, or just post it here, it should be pretty small).
I didn't change the code, it is still:
<form action="http://syltek.dingojunction.com/forum/search.asp?mode=DoIt" method="post"> <font size="3" class="blue" COLOR="blue"><b>Forum Search</b></font> <input size=15 name="search"><br> <font face="arial,helvetica" size="1"><a href="http://syltek.dingojunction.com/forum/search.asp" target="main"><b>ADVANCED SEARCH</b></a></font> <input type=submit value="Search"> </form>
This is what is in my main html page.
Sylvain Amyot FORUM:http://syltek.dingojunction.com/forum HOME:http://members.home.net/sylvainamyot/
You should be able to call search.asp by making the following simple modifications to the form you displayed above:
add a name="SearchForm" to the form.
Then add the following hidden fields:
<input type="hidden" name="andor" value=" and "> <input type="hidden" name="NavCheck" value="NavCheck"> <input type="hidden" name="reclimit" value="0"> <input type="hidden" name="Forum" value="0"> <input type="hidden" name="SearchMember" value="0"> <input type="hidden" name="SearchMessage" value="0"> <input type="hidden" name="SearchDate" value=0>
Note the "andor" field is set to " and " (be sure to include the spaces before and after the word 'and'). This tells the search that ALL the words have to exist. You can change it to " or " so that the search will search for ANY of the words.
Give that a shot and let me know how it goes. The fields I list above are fields that are in the form on search.asp. There may be a question as to whether the SearchDate should have a value or "0" or just 0 so try it the way I have listed first, then if that fails, try the "0" way.
Edited by - mfindlay on 13 July 2001 00:41:03 |
|
|
samyot
Junior Member
Canada
242 Posts |
|
mfindlay
Junior Member
USA
144 Posts |
|
Topic |
|