Re: Searching with a form

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33339
interpreted = N
texte = Thanks guys! Thats great got it to work.Okay...I'd like to be able to use a form on the search page for user input for searching, but I also want a list of categories that link to the results page and fire the search context.....SO.. the command search happens in the form on the search page: --- then the results are displayed in [founditems] in results.tpl but if someone ignores the form and text input and selects a linked category from a list on the search.tpl (Classical or whatever) --- then its a trip to results.tpl and the search context firesto combine these two types of searches on one search page, is it simply a matter of [hideif] for the search context on the results page when the text input field is empty orrrrr [hideif] on the search context if the text input field is NOT empty? And.... how do you test for empty/not empty???Many Thanks Charley Conquest Fresh Music --- You wrote: Either use the search command that's in your form, and get rid of the search context, or if you actually want to use the search context that's in your resultsa.tpl page (which seems to be what you're trying to do) then get rid of these two form fields to disable the command-based search:> > --- end of quote ---------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Searching with a form (John Butler 2000)
  2. Re: Searching with a form (chas@valley.net (chas) 2000)
  3. Re: Searching with a form (Vincent Medina 2000)
  4. Re: Searching with a form (Kenneth Grome 2000)
  5. Re: Searching with a form (Jesse Proudman (Lists Account) 2000)
  6. Searching with a form (chas@valley.net (chas) 2000)
Thanks guys! Thats great got it to work.Okay...I'd like to be able to use a form on the search page for user input for searching, but I also want a list of categories that link to the results page and fire the search context.....SO.. the command search happens in the form on the search page: --- then the results are displayed in [founditems] in results.tpl but if someone ignores the form and text input and selects a linked category from a list on the search.tpl (Classical or whatever) --- then its a trip to results.tpl and the search context firesto combine these two types of searches on one search page, is it simply a matter of [hideif] for the search context on the results page when the text input field is empty orrrrr [hideif] on the search context if the text input field is NOT empty? And.... how do you test for empty/not empty???Many Thanks Charley Conquest Fresh Music --- You wrote: Either use the search command that's in your form, and get rid of the search context, or if you actually want to use the search context that's in your resultsa.tpl page (which seems to be what you're trying to do) then get rid of these two form fields to disable the command-based search:> > --- end of quote ---------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ chas@valley.net (chas)

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:

[WebDNA] strip [browsername] (2016) RSS Feeds; basic info (2005) mail on NT (1998) Sendmail (1999) RE: [input] questions (1997) There's a bug in the math context ... (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Running a store on BOTH http and https (1998) WebDNA Feature Request (2006) WebCat2.0 [format thousands .0f] no go (1997) WebCatalog for Mac 2.0.1 Released (1997) Error.html (1997) retrieve header field (2001) Using Encrypt/Decrypt (2003) Running WebCat from a CD-ROM (1997) Add to Cart & List of Products (1997) dos performance (1998) (OT) Dual 2GHz G5 (2003) select menus & database design (1998) [format 40s]text[/format] doesn't work (1997)