Re: FormVariable
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23517
interpreted = N
texte = You are right, I don't want to show them, I want to use them. Perhaps I stated itwrong by saying I wanted to use the info for database lookups. I really just needto stuff their values into the cart.My application is fairly simple, but I need to collect information about theshopper on one page and then use it two pages later when I have a sku and can writeto the cart. I'm using textA-textE in the cart to store that shopper info. Myclient wants to get the shopper data first, like getting to know you beforepresenting the shopping cart page.I'm a newbee to webcart....so I appreciate your patience ;->JanMartin Bech wrote:> I dont think its possible normal way!>> because when using the formvariables it will list all the values, which i> guess is not what you want!>> If you want it to be a lookup, instead of a search context, you should put> a [lookup db=your.db&lookinfield=yourfield&value=[formvariables][showif> [name]=theName][value][/showif][/formvariables]&returnfield=thereturnfield¬fo> und=theNotFoundText]>> I would considder a search in stead!>> /Martin>> >I want to use FormVariable to do database lookups....not to list the> >variables on a page but use the values for processing. Anyone have any> >insight into this?> >> >thanks,> >Jan
Associated Messages, from the most recent to the oldest:
You are right, I don't want to show them, I want to use them. Perhaps I stated itwrong by saying I wanted to use the info for database lookups. I really just needto stuff their values into the cart.My application is fairly simple, but I need to collect information about theshopper on one page and then use it two pages later when I have a sku and can writeto the cart. I'm using textA-textE in the cart to store that shopper info. Myclient wants to get the shopper data first, like getting to know you beforepresenting the shopping cart page.I'm a newbee to webcart....so I appreciate your patience ;->JanMartin Bech wrote:> I dont think its possible normal way!>> because when using the formvariables it will list all the values, which i> guess is not what you want!>> If you want it to be a lookup, instead of a search context, you should put> a [lookup db=your.db&lookinfield=yourfield&value=
[formvariables][showif> [name]=theName][value][/showif][/formvariables]&returnfield=thereturnfield¬fo> und=theNotFoundText]>> I would considder a search in stead!>> /Martin>> >I want to use FormVariable to do database lookups....not to list the> >variables on a page but use the values for processing. Anyone have any> >insight into this?> >> >thanks,> >Jan
Jan Kinzler
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:
Formating found categories (1997)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Part Html part WebDNA (1997)
Bug Report, maybe (1997)
Word Breaks (1998)
Error Lob.db records error message not name (1997)
[REFERRER] bug? (1998)
HELP! Search finding too much! (1998)
Postdata expired from cache (2004)
setting the price of goods after its added to the cart (2000)
WebDNA-Talk Digests (1997)
MasterCounter and capitalization (1997)
Not really WebCat (1997)
WebCatalog NT beta 18 problem (1997)
Occasional crashes with $remove (1997)
interesting (2003)
Virtual Postcards (1998)
security problem (1997)
Sku numbers (1997)
First postarg not taking in $Commands (1997)