Re: Dynamic drop downs

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61289
interpreted = N
texte = Sorry, have never got into storebuilder ...... On 04/03/2005, at 9:46 AM, Paul Berman wrote: > How would I do this to search the sections.db and bring up the > categories > and sub categories > > Called [S_NAME] in storebuilder > > > Being trying to do this for ages we currently just have a simple list > but > thsi would be earier to navigate > > [hideif [lookup > db=admin/sections.db&lookinfield=S_TYPE&value=M&returnfield=S_ID]=] > [search > db=admin/ > sections.db&eqS_TYPEdatarq=M&S_RANKtype=number&asS_RANKsort=1][foun > ditems] > [text]sect=[lookup > db=admin/ > sections.db&lookinfield=S_RELATED&value=[s_id]&returnfield=S_ID¬ > found=][/text] > [text]sect=[showif [sect]=]F[/showif][hideif [sect]=]T[/hideif][/text] > [text]prod=[search > db=admin/ > products.dbISIBLEdatarq=T&woSECTIONSdatarq=[s_id]&SECTIONSword=ww&m > ax=1][numfound][/search][/text] > [text]prod=[showif [prod]=0]F[/showif][hideif > [prod]=0]T[/hideif][/text] > [hideif [sect][prod]=FF] ![MAIN_SECTION_COLOR]]bgcolor="[MAIN_SECTION_COLOR]"[/ShowIf]> >   href="default.tpl?cart=[cart]&id1=[s_id]&startat=1&-- > woSECTIONSdatarq=[s_id] > &--SECTIONSword=ww"> [S_NAME] >  ([search > db=admin/ > products.db&VISIBLEdatarq=T&woSECTIONSdatarq=[s_id]&SECTIONSword=ww > &max=1][numfound][/search])
> [/hideif][include file=search_loop.inc&level=1] > [/founditems][/search][/hideif] > > > Thanks > Paul > ----- Original Message ----- > From: "Stuart Tremain" > To: "WebDNA Talk" > Sent: Thursday, March 03, 2005 11:08 PM > Subject: Re: Dynamic drop downs > > >> This should get you started :) >> >> >> >> >> >> >> >> On 04/03/2005, at 2:22 AM, stephen@msrit.com wrote: >> >>> Is there a simple way to make a drop down box values dynamic based on >>> a previous selection on the client side? >>> Example: In my first drop down I have Product names and based on >>> which one I select the second drop down shows me the manufacturers. >>> All values pull from the database. >>> >>> Thanks, >>> >>> >>> >>> >>> ------------------------------------------------------------- >>> 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://webdna.smithmicro.com/ >>> >>> >> Regards >> >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> t +612 9908 2134 >> f +612 9908 4837 >> >> >> ------------------------------------------------------------- >> 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://webdna.smithmicro.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://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Dynamic drop downs ( Stuart Tremain 2005)
  2. Re: Dynamic drop downs ( Stuart Tremain 2005)
  3. Re: Dynamic drop downs ( Stuart Tremain 2005)
  4. Re: Dynamic drop downs ( Kenneth Grome 2005)
  5. Re: Dynamic drop downs ( "Paul Berman" 2005)
  6. Re: Dynamic drop downs ( Stuart Tremain 2005)
  7. Dynamic drop downs ( stephen@msrit.com 2005)
Sorry, have never got into storebuilder ...... On 04/03/2005, at 9:46 AM, Paul Berman wrote: > How would I do this to search the sections.db and bring up the > categories > and sub categories > > Called [S_NAME] in storebuilder > > > Being trying to do this for ages we currently just have a simple list > but > thsi would be earier to navigate > > [hideif [lookup > db=admin/sections.db&lookinfield=S_TYPE&value=M&returnfield=S_ID]=] > [search > db=admin/ > sections.db&eqS_TYPEdatarq=M&S_RANKtype=number&asS_RANKsort=1][foun > ditems] > [text]sect=[lookup > db=admin/ > sections.db&lookinfield=S_RELATED&value=[s_id]&returnfield=S_ID¬ > found=][/text] > [text]sect=[showif [sect]=]F[/showif][hideif [sect]=]T[/hideif][/text] > [text]prod=[search > db=admin/ > products.dbISIBLEdatarq=T&woSECTIONSdatarq=[s_id]&SECTIONSword=ww&m > ax=1][numfound][/search][/text] > [text]prod=[showif [prod]=0]F[/showif][hideif > [prod]=0]T[/hideif][/text] > [hideif [sect][prod]=FF] ![MAIN_SECTION_COLOR]]bgcolor="[MAIN_SECTION_COLOR]"[/ShowIf]> >   href="default.tpl?cart=[cart]&id1=[s_id]&startat=1&-- > woSECTIONSdatarq=[s_id] > &--SECTIONSword=ww"> [S_NAME] >  ([search > db=admin/ > products.db&VISIBLEdatarq=T&woSECTIONSdatarq=[s_id]&SECTIONSword=ww > &max=1][numfound][/search])
> [/hideif][include file=search_loop.inc&level=1] > [/founditems][/search][/hideif] > > > Thanks > Paul > ----- Original Message ----- > From: "Stuart Tremain" > To: "WebDNA Talk" > Sent: Thursday, March 03, 2005 11:08 PM > Subject: Re: Dynamic drop downs > > >> This should get you started :) >> >> >> >> >> >> >> >> On 04/03/2005, at 2:22 AM, stephen@msrit.com wrote: >> >>> Is there a simple way to make a drop down box values dynamic based on >>> a previous selection on the client side? >>> Example: In my first drop down I have Product names and based on >>> which one I select the second drop down shows me the manufacturers. >>> All values pull from the database. >>> >>> Thanks, >>> >>> >>> >>> >>> ------------------------------------------------------------- >>> 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://webdna.smithmicro.com/ >>> >>> >> Regards >> >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> t +612 9908 2134 >> f +612 9908 4837 >> >> >> ------------------------------------------------------------- >> 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://webdna.smithmicro.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://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Stuart Tremain

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:

Ok here is a question? (1997) problems with WebCat-Plugin () [WebDNA] An apache config file that works? (2013) Search in 2 or more catalogs (1997) Append (1999) Calendar Solutions (1998) Sendmail and SMTP AUTH (2005) search across ip/domain addresses? (1998) Delete Context - to remove record (1998) unable to launch acgi in WebCat (1997) Encrypted items in DB (2001) Emailer issue (2006) Calculating multiple shipping... (1997) questions on variations of Ken's [text multi=T]var1=&var2=[/text] (1999) Shopping Cart Limits? (1998) Loops and [index] (1998) Hiding usernames and passwords in URL (1998) Authenticate (1997) WebCat2: Items xx to xx shown, etc. (1997) [OT] cheap software (2004)