Re: form variables
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33800
interpreted = N
texte = Art, understand that [formvariables] does *not* ever add anything to the cart file.You use [addlineitem] or the Add command to do that. Code nested within a [formvariables] context will execute as many times as there areunique formvariables that have come into the page via the URL (...&someVar=xxx) orvia a form that has been submitted (get or post method) - and the resulting HTML ofall those loops thru [formvariables] will be returned to the browser. So you could use[addlineitem] *within* [formvariables] if you want the [addlineitem] to happen asmany times as there are formvariables. Each loop thru the innards of the[formvariables] context will have available the name and value of the formvariable'responsible for that current loop'.SM has made popular (via storebuilder code) the technique of using [formvariables] inconjunction with other contexts to do more than simply list the names and values of theformvariables coming into the page (which is the most basic use of the [formvariables]context).How'd I do?:-)-JohnArturo Vargas wrote:> can I use it to add more than one item to the shopping cart at the same time> then?>> Art.>> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of Kenneth Grome> Sent: Tuesday, June 27, 2000 5:02 PM> To: WebCatalog Talk> Subject: Re: form variables>> >I have been trying to understand what [FormVariables] does and even though> >I have read the example over and over I can' seem to understand.> >Can some one put if in better words than the web cat page?>> It lists the formvariables that have been passed to the current page> from the previous page.>> ================================> Kenneth Grome, WebDNA Consultant> 808-737-6499 http://webdna.net> ================================>> -------------------------------------------------------------> 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://search.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://search.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Art, understand that [formvariables] does *not* ever add anything to the cart file.You use [addlineitem] or the Add command to do that. Code nested within a [formvariables] context will execute as many times as there areunique formvariables that have come into the page via the URL (...&someVar=xxx) orvia a form that has been submitted (get or post method) - and the resulting HTML ofall those loops thru [formvariables] will be returned to the browser. So you could use[addlineitem] *within* [formvariables] if you want the [addlineitem] to happen asmany times as there are formvariables. Each loop thru the innards of the[formvariables] context will have available the name and value of the formvariable'responsible for that current loop'.SM has made popular (via storebuilder code) the technique of using [formvariables] inconjunction with other contexts to do more than simply list the names and values of theformvariables coming into the page (which is the most basic use of the [formvariables]context).How'd I do?:-)-JohnArturo Vargas wrote:> can I use it to add more than one item to the shopping cart at the same time> then?>> Art.>> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of Kenneth Grome> Sent: Tuesday, June 27, 2000 5:02 PM> To: WebCatalog Talk> Subject: Re: form variables>> >I have been trying to understand what [formvariables] does and even though> >I have read the example over and over I can' seem to understand.> >Can some one put if in better words than the web cat page?>> It lists the formvariables that have been passed to the current page> from the previous page.>> ================================> Kenneth Grome, WebDNA Consultant> 808-737-6499 http://webdna.net> ================================>> -------------------------------------------------------------> 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://search.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://search.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://search.smithmicro.com/
John Butler
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:
Authenticate (2000)
[moveFile] Question (1999)
[WebDNA] How to get the domain name? (2009)
Searching for all records (1998)
OT: .biz and .info (2001)
Off Topic: Help Wanted (1997)
Emailer again & again (1997)
wcat 4.5/WebStar V uninstall (2002)
Webcat bannersleuth Qs (2001)
Stumped (1999)
Re:Adding non-SKUs to cart (1998)
PIXO support (1997)
WebCat2 Append problem (B14Macacgi) (1997)
RE: Re:Signal Raised (1997)
Summing fields (1997)
Not really WebCat- (1997)
Moment of Thanks (1997)
[WebDNA] Feature Request (2013)
More on the email templates (1997)
lookups or math? (1998)