Webmastersite.net
Register Log In

Can this be done
Search within just one field

Comments on Can this be done

webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Nov 27, 2006 - 10:23 AM:

Hi all,

I just purchased 3 licenses of WSN links and i was wondering if the following was possible...

If I create three new fields

Town
County
Postcode

Could i set up three search form and have each just search the relevant field.

For instance a search box labled "Search by postcode" which the user tyoes a postcode into and then the script Just searches the postcode field in the database.

Can that be done and if so, how?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 27, 2006 - 8:13 PM:

Just modify the advanced search template for that. Take the search html it has for the url field and change url to town, country and postcode. Remove all other fields if you want to make it just for that field. If you don't want the option for the type of matching, change the selector to a hidden input field.

scripts.webmastersite.net/w...rticles/Searching-162.html
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.