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:

Re(2): MASTER_STORE revision (2002) Unknown error: OrderNotCreated (1997) Triggers (2003) template cache problem (1998) Autoreturn Submit? (1997) WebCat2 as a chat server? (1997) Need relative path explanation (1997) [WebDNA] Capitalize surprise (2012) Math, Multiple Equasions and Show/Hide (1998) Plugin or CGI or both (1997) Fw: Webcat followup question (1999) PCS Emailer's role ? (1997) RE: WebCat name recognition (was MacFinder -- a new WebDNAw (1998) Another [header] Q- (2000) WC2.0 Memory Requirements (1997) [decrypt seed=seed][getchars (1999) [cart] clarification... (1997) Here's how to kill a Butler Database. (1997) unable to launch acgi in WebCat (1997) Protect vs Authenicate (1997)