
Donna
Staff
/ Moderator

Nov 24, 2008, 3:27 PM
Post #4 of 5
(2525 views)
Shortcut
|
|
Re: [webfoot] Search Listing Number
[In reply to]
|
Can't Post
|
|
Hi there, Not quite -- the <form> tag will always only ever be the link to the search.cgi. Then you would put the rest of the query in input tags, like this: <form method="get" action="http://www.sbcauto.com/cgi-bin/listman/exec/search.cgi"> <input type="hidden" name="template" value="_publish_listing.html"> <input value="" type="text" name="view"> <input type=submit name="search" value=" Search Listings " /> </form> You can modify the fields a bit, but the "name" and the "value" are the important parts. Anything you want the user to be able to enter should be left blank, but make sure the "name" is the field that you're searching on. :) In this case, you could actually leave the template field off as you're specifying the default template anyway. If you wanted to change it to something else, that's the syntax you would use (but with a different filename.) I hope this helps! Donna -- support@interactivetools.com
|