Re: How to show via drop down menu?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33529
interpreted = N
texte = You could try the following, if you don't have any problems with using JS. I took a template that I use for searching from a select menu and modified it to fit your search criteria based on what you posted. This will search your database and make all of your categories options in the select menu. Then when you select one option it will it will automatically (note the onChange) send your search command to the results page.
WebDNA Support wrote:> >Here is the code I am using > > > >
> > > > > >[search db=[db]&neskudata=0&ascategorysort=1&categorysumm=t] > > > > > >[/search] > >
> > > > > >When I choose a category with it I get Error: No Search Context > >Found. Ignoring [FOUNDITEMS] context > > Are you sending a search command to results.tpl? From this form, I > don't see a hidden form variable that would send that command. > Alternately you could have an embedded [search] context on > results.tpl, but I don't think you do, because then you probably > wouldn't be getting that error message. > > The error message is quite literal: if you have a [founditems] > context on a page, but it is not inside of a [search] context or > search command, then it has no idea where to pick up the list of > found items from. > > Technical Support ********************************** > Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) > 16855 West Bernardo Drive, #380 | ------------------------- > San Diego, CA 92127 | Software & Site Development > WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com > Fax: (858) 675-0372 ********************************** > > ------------------------------------------------------------- > 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/-- Robert Wade ======================= CABIN6 Design================================================ |[ //\ ||} || ||\| V| ================================================www.cabin6.com =============== robert@cabin6.com------------------------------------------------------------- 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: How to show via drop down menu? (Robert Wade 2000)
  2. Re: How to show via drop down menu? (WebDNA Support 2000)
  3. Re: How to show via drop down menu? (Jeff Logan 2000)
  4. Re: How to show via drop down menu? (Kenneth Grome 2000)
  5. Re: How to show via drop down menu? (Jeff Logan 2000)
  6. Re: How to show via drop down menu? (Kenneth Grome 2000)
  7. How to show via drop down menu? (Jeff Logan 2000)
You could try the following, if you don't have any problems with using JS. I took a template that I use for searching from a select menu and modified it to fit your search criteria based on what you posted. This will search your database and make all of your categories options in the select menu. Then when you select one option it will it will automatically (note the onChange) send your search command to the results page.
WebDNA Support wrote:> >Here is the code I am using > > > >
> > > > > >[search db=[db]&neskudata=0&ascategorysort=1&categorysumm=t] > > > > > >[/search] > >
> > > > > >When I choose a category with it I get Error: No Search Context > >Found. Ignoring [founditems] context > > Are you sending a search command to results.tpl? From this form, I > don't see a hidden form variable that would send that command. > Alternately you could have an embedded [search] context on > results.tpl, but I don't think you do, because then you probably > wouldn't be getting that error message. > > The error message is quite literal: if you have a [founditems] > context on a page, but it is not inside of a [search] context or > search command, then it has no idea where to pick up the list of > found items from. > > Technical Support ********************************** > Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) > 16855 West Bernardo Drive, #380 | ------------------------- > San Diego, CA 92127 | Software & Site Development > WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com > Fax: (858) 675-0372 ********************************** > > ------------------------------------------------------------- > 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/-- Robert Wade ======================= CABIN6 Design================================================ |[ //\ ||} || ||\| V| ================================================www.cabin6.com =============== robert@cabin6.com------------------------------------------------------------- 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/ Robert Wade

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:

WebCatalog2 Feature Feedback (1996) Problem (1997) Further on formula.db failure to calculate shipCost (1997) if else problem (2003) 2.0Beta Command Ref (can't find this instruction) (1997) [WebDNA] Copy a whole row from a db to another db or table (2017) WC 2.0 frames feature (1997) [ShowNext] (1997) Search Questions (2000) Email within tmpl ? (1997) orderfile and setlineitems (1998) Problem with version 4 browsers (1998) 2.0 Info (1997) [WebDNA] [WSC] WebDNA Development Summit (2014) NT Setup (1998) Number of Open Databases (1998) [OT] Connect to MySQL (2004) [OT Rebound] how to set w* backgroundserver (2002) Loops N Variables (1998) WebCat2b13MacPlugIn - More limits on [include] (1997)