Re: Form Variables
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28990
interpreted = N
texte = Oops... that isn't it at all. Sorry. Was doing too many things at once. Will repost in a minute.- Charles>Whoa... [formvariables] is just about one of the most coolest things.>Definately not for debugging only.>>Can you be more specific about what you are trying to do? I am>guessing that you want to setlineitems for all the variables you pass>to the page. If this is correct, then you can use formvariables to do>this:>>[formvariables][setlineitem>cart=[cart]&index=[index]&db=some.db][name]=[value][/setlineitem][/formvariables]>>you need to make sure that the variables you are passing have valid names.>>If this is not the case. Explain more fully what it is you are trying to do.>>- Charles>>>>I've been told form variables are only used to test and debug to see if the>>data is passed. What I'm attempting to do is get each found item along with>>description, price etc. into a line item format on the result page. I have>>the [foundItems] wrapped around the line items but only the first item in>>the search shows up. I want to remove the>>>>[formvariables]>>[value]
>>[/formvariables]>>>>after I get this to work correctly.>>I tried the form variables in the body where I should probably use something>>else to achieve my goal but I'm not sure what to do with this. If Form>>Variables are only to be used for debugging, it is not stated in the manual>>on page 126 to 128. So I'm left wondering if it is used other than testing.>>>>---------->>>From: Charles Kline
>>>To: (WebCatalog Talk)>>>Subject: Re: Form Variables>>>Date: Tue, Mar 14, 2000, 9:12 AM>>>>>>>> what are you trying to do??>>>>>>>>>>I've tried to wrap: [formvariables] around my [search] tags but it doesn't>>>>work. I only see the first line item. I've moved [formvariables] around to>>>>find the correct position but nothing works. I placed at the top >>>>of the page>>>>and tested:>>>>[formvariables]>>>>[value]
>>>>[/formvariables]>>>>>>>>and I can see the SKU and all the items IDs. Can anyone shed some light on>>>>this?>>>>>>>>------------------------------------------------------------->>>>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>>>>>>>>>>>>> ------------------------------------------------------------->>> 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>>>>------------------------------------------------------------->>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>>>>>------------------------------------------------------------->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 >-------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
Oops... that isn't it at all. Sorry. Was doing too many things at once. Will repost in a minute.- Charles>Whoa... [formvariables] is just about one of the most coolest things.>Definately not for debugging only.>>Can you be more specific about what you are trying to do? I am>guessing that you want to setlineitems for all the variables you pass>to the page. If this is correct, then you can use formvariables to do>this:>>[formvariables][setlineitem>cart=[cart]&index=[index]&db=some.db][name]=[value][/setlineitem][/formvariables]>>you need to make sure that the variables you are passing have valid names.>>If this is not the case. Explain more fully what it is you are trying to do.>>- Charles>>>>I've been told form variables are only used to test and debug to see if the>>data is passed. What I'm attempting to do is get each found item along with>>description, price etc. into a line item format on the result page. I have>>the [founditems] wrapped around the line items but only the first item in>>the search shows up. I want to remove the>>>>[formvariables]>>[value]
>>[/formvariables]>>>>after I get this to work correctly.>>I tried the form variables in the body where I should probably use something>>else to achieve my goal but I'm not sure what to do with this. If Form>>Variables are only to be used for debugging, it is not stated in the manual>>on page 126 to 128. So I'm left wondering if it is used other than testing.>>>>---------->>>From: Charles Kline >>>To: (WebCatalog Talk)>>>Subject: Re: Form Variables>>>Date: Tue, Mar 14, 2000, 9:12 AM>>>>>>>> what are you trying to do??>>>>>>>>>>I've tried to wrap: [formvariables] around my [search] tags but it doesn't>>>>work. I only see the first line item. I've moved [formvariables] around to>>>>find the correct position but nothing works. I placed at the top >>>>of the page>>>>and tested:>>>>[formvariables]>>>>[value]
>>>>[/formvariables]>>>>>>>>and I can see the SKU and all the items IDs. Can anyone shed some light on>>>>this?>>>>>>>>------------------------------------------------------------->>>>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>>>>>>>>>>>>> ------------------------------------------------------------->>> 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>>>>------------------------------------------------------------->>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>>>>>------------------------------------------------------------->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 >-------------------------------------------------------------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
Charles Kline
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:
Links inside of Text Areas (2000)
[CART] inside a [LOOP] (1997)
Re:2nd WebCatalog2 Feature Request (1996)
WebTen? (1997)
printing twice? and fix (1997)
2.01 upgrade problems (1997)
lookup and two records? (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
WC1.6 to WC2 date formatting (1997)
# fields limited? (1997)
error: Too many nested [xxx] contexts (1997)
Calendar using WebCatalog? (1997)
Hiding HTML and page breaks (1997)
Searching multiple fields from one form field (1997)
Two submit buttons ? (1997)
random prob (2003)
Webmessage Hyperboard (1998)
numfound=0 for a search after going into the SSL (2003)
More than one db with the same namn (was: WC2f3) (1997)
FormVariable (1999)