Re: unusual search problem

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20695
interpreted = N
texte = >>The actual search string created by this code makes the plus signs into %20, and that screws up my searches. Here is the parameter created by this code when I check two of the checkboxes: >> >>&wofieldNamedatarq=US%20West%20GTE%20 >> >>... but what I *wanted* for this parameter is: >> >>US%20WEST+GTE+>The work around is to wrap a [url] context around the plus character (or just specify it as its %xx equivalent) in [search] text. Then WebCat will convert it back to a plus before processing. (you will notice that the [url] context converts + characters, even though they're legal in a URL, for this reason).I tried specifying it as %2B as suggested (also) by PCS Tech Support, but it doesn't work, webcat still sees the + sign as a space in terms of word separations in the search parameters, so the end result is that:&wofieldNamedatarq=US%20West%2BGTElooks like this on the web page itself:US West+GTEBut in the search context it still acts like it did before. In other words, the problem still remains ... :(Any other ideas for making this work properly?I already tried this:group1Field=brand eqgroup1data=US%20WEST group2Field=brand eqgroup2data=GTE... not only using eq but also ws and wo, and nothing works properly, so there may be a problem using the webcat field grouping features too. I think I should have been able to do it that way but I still haven't found a way ... :(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: unusual search problem (John Hill 1998)
  2. Re: unusual search problem (Martin Gertz Bech 1998)
  3. Re: unusual search problem (Kenneth Grome 1998)
  4. Re: unusual search problem (Kenneth Grome 1998)
  5. Re: unusual search problem (John Hill 1998)
  6. Re: unusual search problem (PCS Technical Support 1998)
  7. unusual search problem (Kenneth Grome 1998)
>>The actual search string created by this code makes the plus signs into %20, and that screws up my searches. Here is the parameter created by this code when I check two of the checkboxes: >> >>&wofieldNamedatarq=US%20West%20GTE%20 >> >>... but what I *wanted* for this parameter is: >> >>US%20WEST+GTE+>The work around is to wrap a [url] context around the plus character (or just specify it as its %xx equivalent) in [search] text. Then WebCat will convert it back to a plus before processing. (you will notice that the [url] context converts + characters, even though they're legal in a URL, for this reason).I tried specifying it as %2B as suggested (also) by PCS Tech Support, but it doesn't work, webcat still sees the + sign as a space in terms of word separations in the search parameters, so the end result is that:&wofieldNamedatarq=US%20West%2BGTElooks like this on the web page itself:US West+GTEBut in the search context it still acts like it did before. In other words, the problem still remains ... :(Any other ideas for making this work properly?I already tried this:group1Field=brand eqgroup1data=US%20WEST group2Field=brand eqgroup2data=GTE... not only using eq but also ws and wo, and nothing works properly, so there may be a problem using the webcat field grouping features too. I think I should have been able to do it that way but I still haven't found a way ... :(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:

[protect] weirdness (2000) Webcatalog quitting (1997) WebCatalog2 Feature Feedback (1996) WebCat editing, SiteGuard & SiteEdit (1997) Separate SSL Server (1997) forms and variables (1998) ODBC to WebCat (2000) Location of Webcat site in folder hierarchy (1997) Bug? (1997) Searching multiple fields from one form field (1997) Return records from another (1997) PCS Frames (1997) WebCat2b15MacPlugin - [protect] (1997) Forms & Tables (1998) Bug Report, maybe (1997) Custom Shipping Charges (1997) Frames and WebCat (1997) docs for WebCatalog2 (1997) Which beta for w* 4.1 and a problem w/b12 (1999) hiding blank fields (2003)