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:
[WebDNA] can webdna set the email header (w/[sendmail]) that controls where bounced email goes? (2012)
showcart (2000)
Notice To ICVerify Users (2000)
duplicate items in cart (1998)
[WebDNA] [input] v. [sendmail] question (2009)
WebCat hosting providers? (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
return missing item (was:WebCat Sales) (1997)
Instructions for Digest (1997)
.html with IIS4 (1999)
Where can I find hex equivalents for ASCII characters? (2000)
Location of Webcat site in folder hierarchy (1997)
WebCatalog can't find database (1997)
Price Not Appearing (2000)
Updating a database once per day - An example (1998)
different show next (1997)
email [title] (1997)
Bug Report, maybe (1997)
OT - Public Upload Security (2002)
Processing all html files through WebCat or Typhoon (1998)