Re: range searching

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16731
interpreted = N
texte = >Hi, > >I am trying to set up a range searching system for a french used cars dealer. I want the visitor to be able to select from 2 pop up menus the lower and upper amount he is willing to pay for a car. >I used this : > > Price from

> > To

> >This search just doesn't work, it seems to be ignored, all my other criterias are OK as I am able to search by brand or model. You can have a look at it at www.drivoccaz.com, click on the old car to access the search engine. Hi Laurent,Since you're searching in the same field for two different sets of parameters, one thing you need to do is to use a group search technique. So put this in your form: Then change the references in your selection lists from gtprixdata to gtgroup1data, and from ltprixdata to ltgroup2data. Actually, it wouldn't hurt to make these two fields required -- so you should probably append rq after the data part ... as in gtgroup1datarq and ltgroup2datarq.And don't forget, you will also need a couple of additional hidden form fields that tell webcat that these fields are numbers instead of text: I think these changes will fix it for you ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: range searching (Laurent Pladys 1998)
  2. Re: range searching (Laurent Pladys 1998)
  3. Re: range searching (PCS Technical Support 1998)
  4. range searching (Laurent Pladys 1998)
  5. Re: range searching (Kenneth Grome 1998)
>Hi, > >I am trying to set up a range searching system for a french used cars dealer. I want the visitor to be able to select from 2 pop up menus the lower and upper amount he is willing to pay for a car. >I used this : > > Price from

> > To

> >This search just doesn't work, it seems to be ignored, all my other criterias are OK as I am able to search by brand or model. You can have a look at it at www.drivoccaz.com, click on the old car to access the search engine. Hi Laurent,Since you're searching in the same field for two different sets of parameters, one thing you need to do is to use a group search technique. So put this in your form: Then change the references in your selection lists from gtprixdata to gtgroup1data, and from ltprixdata to ltgroup2data. Actually, it wouldn't hurt to make these two fields required -- so you should probably append rq after the data part ... as in gtgroup1datarq and ltgroup2datarq.And don't forget, you will also need a couple of additional hidden form fields that tell webcat that these fields are numbers instead of text: I think these changes will fix it for you ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Sales Tax db (1998) Dynamic PDFs? (2004) Next (1997) Re2: Calculating multiple shipping... (1997) logic help (1998) [OT] Boredom (was: Search Engine Tips) (2003) NetForms for mail, sorry (1998) Contribution (2000) Date problems (1997) Running _every_ page through WebCat ? (1997) Resume Catalog ? (1997) 2nd try: possible to weight results of grouped fieldssearch? (1998) Security & Query Strings (2004) Using [purchase] (1998) re: Large databases in WebCat (1997) WebDNA - fun to compare (2005) Why doesn't it change? (1998) WCS Newbie question (1997) Web Catalog vs. ICAT (1997) 4.5.1 download link (2003)