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:

the dreaded unitShipCost (2003) year 2000 + and webmerch, macauth? (1998) PCS Frames (1997) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) [WebDNA] Fails from http:// but works from file:/// (2009) problems with 2 tags shakur (1997) WebCatalog dying in WebTen Revisited (1998) [WebDNA] mail header timezone problem (2008) update on wn searching (1997) RE: NewCart+Search with one click ? (1997) osx 10.3,webcat,permissions (2004) date formatting for CC card expiration date check (1998) No subject given (2000) how does [break] work? (1998) WebCatalog 2.1 for NT (1998) WC2b15 File Corruption (1997) [WriteFile] problems (1997) I give up!! (1997) Providing hard copy of database to client (1997) [WebDNA] Store module/site (2012)