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 are unique formvariables that have come into the page via the URL (...&someVar=xxx) or via a form that has been submitted (get or post method) - and the resulting HTML of all those loops thru [formvariables] will be returned to the browser. So you could use [addlineitem] *within* [formvariables] if you want the [addlineitem] to happen as many 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] in conjunction with other contexts to do more than simply list the names and values of the formvariables 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:

    
  1. Re: form variables and missing quantities! ( Tim Robinson 2004)
  2. Re: form variables and missing quantities! ( Glenn Busbin 2004)
  3. form variables and missing quantities! ( "Tommy" 2004)
  4. Re: dynamic list of form variables (Dave Hurley 2003)
  5. Re: dynamic list of form variables (Brian Fries 2003)
  6. Re: dynamic list of form variables (Donovan 2003)
  7. Re: dynamic list of form variables (WebCat @ Inkblot Media 2003)
  8. Re: dynamic list of form variables (Laurent Bache 2003)
  9. dynamic list of form variables (Dave Hurley 2003)
  10. Re: Passing form variables to new window created by JavaScript (Andrew Simpson 2001)
  11. Passing form variables to new window created by JavaScript (Steven Jarvis 2001)
  12. Re: weening me off overwriting form variables. John Peacock? (Joseph D'Andrea 2000)
  13. Re: weening me off overwriting form variables. John Peacock? (Kenneth Grome 2000)
  14. Re: weening me off overwriting form variables. John Peacock? (John Butler 2000)
  15. Re: weening me off overwriting form variables. John Peacock? (anup setty 2000)
  16. weening me off overwriting form variables. John Peacock? (Joseph D'Andrea 2000)
  17. Re: Lookup & Form Variables (Will Starck 2000)
  18. Re: Lookup & Form Variables (Stuart Tremain 2000)
  19. Re: Lookup & Form Variables (Will Starck 2000)
  20. Lookup & Form Variables (Stuart Tremain 2000)
  21. Re: Dummy Form Variables Needed (Larry Orchier 2000)
  22. Re: Dummy Form Variables Needed (Webcat 2000)
  23. Re: Dummy Form Variables Needed (Kenneth Grome 2000)
  24. Re: Dummy Form Variables Needed (Nicolas Verhaeghe 2000)
  25. Re: Dummy Form Variables Needed (John Butler 2000)
  26. Re: Dummy Form Variables Needed (Steven Jarvis 2000)
  27. Re: Dummy Form Variables Needed (John Butler 2000)
  28. Re: Dummy Form Variables Needed (Nicolas Verhaeghe 2000)
  29. Re: Dummy Form Variables Needed (Larry Orchier 2000)
  30. Re: Dummy Form Variables Needed (John Butler 2000)
  31. Re: Dummy Form Variables Needed (Anup Setty 2000)
  32. Dummy Form Variables Needed (Larry Orchier 2000)
  33. Re: form variables (John Butler 2000)
  34. Re: form variables (Kenneth Grome 2000)
  35. Re: form variables (Kenneth Grome 2000)
  36. Re: form variables (Jesse Proudman (Lists Account) 2000)
  37. Re: form variables (Arturo Vargas 2000)
  38. form variables (Arturo Vargas 2000)
  39. Re: Searching the same field with 2 form variables. (MARC MALACARME 2000)
  40. Re: Searching the same field with 2 form variables. (Marty Schmid 2000)
  41. Re: Searching the same field with 2 form variables. (Marty Schmid 2000)
  42. Re: Searching the same field with 2 form variables. (MARC MALACARME 2000)
  43. Searching the same field with 2 form variables. (MARC MALACARME 2000)
  44. Re: Form Variables (WebDNA Support 2000)
  45. Re: Form Variables (Eric palhof 2000)
  46. Re: Form Variables (Charles Kline 2000)
  47. Re: Form Variables (Charles Kline 2000)
  48. Re: Form Variables (John Butler 2000)
  49. Re: Form Variables (Charles Kline 2000)
  50. Re: Form Variables (Eric palhof 2000)
  51. Re: Form Variables (The Mooseman 2000)
  52. Re: Form Variables (Charles Kline 2000)
  53. Form Variables (Eric palhof 2000)
  54. Re: Concatenating Form Variables (PCS Technical Support 1998)
  55. Concatenating Form Variables (Michael A. Rosen 1998)
  56. Re: Concatenating Form Variables (PCS Technical Support 1998)
  57. Concatenating Form Variables (Jerry Nielsen 1998)
  58. Re: [returnraw] and form variables (Sandra L. Pitner 1998)
  59. Re: [returnraw] and form variables (Sandra L. Pitner 1998)
  60. Re: [returnraw] and form variables (Olin Lagon 1998)
  61. Re: [returnraw] and form variables (Rob Marquardt 1998)
  62. Re: [returnraw] and form variables (Olin Lagon 1998)
  63. Re: [returnraw] and form variables (Grant Hulbert 1998)
  64. [returnraw] and form variables (Rob Marquardt 1998)
  65. Re: target=_blank and form variables (Pat McCormick 1997)
  66. target=_blank and form variables (Pat McCormick 1997)
  67. Re: target=_blank and form variables (Kenneth Grome 1997)
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 are unique formvariables that have come into the page via the URL (...&someVar=xxx) or via a form that has been submitted (get or post method) - and the resulting HTML of all those loops thru [formvariables] will be returned to the browser. So you could use [addlineitem] *within* [formvariables] if you want the [addlineitem] to happen as many 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] in conjunction with other contexts to do more than simply list the names and values of the formvariables 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)