Re: Selected Item in Pop-down

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48476
interpreted = N
texte = I thought I posted this yesterday, maybe not, or maybe I'm not understanding what it is you're needing to do, but my understanding is you're wanting to option select a category if that was the category previously chosen and the list of categories is coming dynamically out of it's own database. If so, then:[search db=categories.db&necategorydatarq=[blank]&categorysort=1&categorysdir=as&cat egorysumm=T] [text show=f]iscategory=[category][/text] [/search]Where [category] is passed to the page either via a URL, or or as a hidden form field or even via a cookie if you so fancied.GK -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Anthony Clark Sent: Thursday, March 06, 2003 1:31 PM To: WebDNA Talk Subject: Re: Selected Item in Pop-down Marc, Here's the twist: the categories themselves are dynamically generated and placed in a separate data file (categories.db), so when a person wants to modify an existing product (products.db), the popdown is from the categories.db file (this is to allow new or modified products using only a pre-defined list of categories). In other words, I can't hard-code the categories into your example ahead of time because they could change or be deleted. Could I somehow use WebDNA to use looping to generate the needed