Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager (Realty Manager & Auto Manager):
input type button

 

 


Datahouse
User

Jun 16, 2004, 4:32 PM

Post #1 of 2 (4118 views)
Shortcut
input type button Can't Post

Hello, I do have listing manager.

Now I create a button to get all the cars "Mercedes" with one click. I know it is a <input type>... and now the question: what comes afterwards. I did search this forum a few times, bit I can't find any help...


Donna
Staff / Moderator


Jun 16, 2004, 4:56 PM

Post #2 of 2 (4115 views)
Shortcut
Re: [Datahouse] input type button [In reply to] Can't Post

Hi Datahouse,

What you'll want to do is setup some hidden fields followed by a submit button like this:

<form method=get action="/path/to/search.cgi">
<input type="hidden" name="search" value="1">
<input type="hidden" name="lfield12_keyword" value="Mercedes">
<input type="submit" name="search" value="Mercedes">
</form>

The first line is what tells the form what program to use.
The second tells it to get search results, rather than a search query.
The third tells it to search lfield12 for the term "Mercedes". (Change this as appropriate.)
And the last is the submit button itself. Change the "Value" to whatever you want to display on teh button.

I hope this helps! Let me know if you have any other questions. :)

Donna

--
support@interactivetools.com