Re: Searching with a form

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33332
interpreted = N
texte = >Hi > >I am pretty sure this is old territory...but > >if i post a value from a form search like this.... > >Search for the right music:
>
> > >Type Here > >
> >Then on the resultsa.tpl I want to display the founds like this. > >[search >db=products.db&woCDTitledata=[url][CDTitle][/url]&asCDTitlesort=1&max=10&startat=[url][startat][/url]] > >[foundItems] > >blah and blahh > >[/foundItems] > > >[/search] > >I'm getting nuttin.... > >I know the test value sports should return a record. Would you >tell me what I'm missing? You're missing the basic concept that you cannot do a search COMMAND from a form at the same time you're trying to do the same CONTEXT-based search from within a template.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:> > ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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)
>Hi > >I am pretty sure this is old territory...but > >if i post a value from a form search like this.... > >Search for the right music:
>
> > >Type Here > >
> >Then on the resultsa.tpl I want to display the founds like this. > >[search >db=products.db&woCDTitledata=[url][CDTitle][/url]&asCDTitlesort=1&max=10&startat=[url][startat][/url]] > >[founditems] > >blah and blahh > >[/foundItems] > > >[/search] > >I'm getting nuttin.... > >I know the test value sports should return a record. Would you >tell me what I'm missing? You're missing the basic concept that you cannot do a search COMMAND from a form at the same time you're trying to do the same CONTEXT-based search from within a template.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:> > ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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/ 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:

Testing the WebCat Email List Members (2000) 2nd WebCatalog2 Feature Request (1996) WebMerchant bomb (1998) RE: [WebDNA] Tables... (2008) sort problems....bug or brain fart? (1997) Bulletin Board needed (2007) Date Calulation (1997) syntax question, not in online refernce (1997) [append] vs. [appendfile] delta + question? (1997) multiple prices (1998) [WebDNA] Basic Search (2008) Undocumented changes create problems in webcat 4 ... (2000) Writefile (2000) [OT] Industry news from Australia (2000) Emailer [cart] file names (1997) [WebDNA] User sessions - cookies only or cookies and a (2016) Logging purchases (1997) More on the email templates (1997) Artwork (1997) Email Scavengers (2003)