Re: Weird cart problem (webcat 2.x)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29096
interpreted = N
texte = >>your [setheader] looks ok, is it wrapped inside a pair of [formvariable] >>tags? Are you using and underscore (_) in the form field names to process >>them? If so you will need to add that as well to the variable names in the >>setheader context. can you post the whole page? > >I don't know who started this MYTH that some webdna code needs to be >placed inside [formvariables] contexts, but it is NOT TRUE! > >And there is no reason why you should have to use an underscore on any >form field name, either. > >Using a leading underscore is a special technique for use with >[formvariables] when you don't want to be bothered to name each form value >individually on the next page -- and since this is clearly not the case >here, there is no reason for this user to use either underscores or >formvariables in this situation ... > >================================ >Kenneth Grome, WebDNA Consultant >808-737-6499 http://webdna.net >================================ > >The only reason I used formvariables was as a debugging tool. I put in: Debugger: [formvariables] [index],[value]
[/formvariables]To make sure that the values were being passed to the page on which I was using the [setheader] statement. (It displayed the variables and their contents correctly above the setheader statement), billingaddress1, 123 foo street for example.The weird part of this happens when I later query the cart for the contents of address1, et.al. using [orderfile], it gives me [billingaddress1] as the contents of address1, etc. > > > >------------------------------------------------------------- >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 > Christopher Feyrer System Administrator FoodSpot.com chris@foodspot.com ------------------- PGP 6.x key available.------------------------------------------------------------- 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:

    
  1. Re: Weird cart problem (webcat 2.x) (Kenneth Grome 2000)
  2. Re: Weird cart problem (webcat 2.x) (Kenneth Grome 2000)
  3. Re: Weird cart problem (webcat 2.x) (Eric Ridgley 2000)
  4. Re: Weird cart problem (webcat 2.x) (Christopher Feyrer 2000)
  5. Re: Weird cart problem (webcat 2.x) (Kenneth Grome 2000)
  6. Re: Weird cart problem (webcat 2.x) (Christopher Feyrer 2000)
  7. Re: Weird cart problem (webcat 2.x) (Eric Ridgley 2000)
  8. Weird cart problem (webcat 2.x) (Christopher Feyrer 2000)
>>your [setheader] looks ok, is it wrapped inside a pair of [formvariable] >>tags? Are you using and underscore (_) in the form field names to process >>them? If so you will need to add that as well to the variable names in the >>setheader context. can you post the whole page? > >I don't know who started this MYTH that some webdna code needs to be >placed inside [formvariables] contexts, but it is NOT TRUE! > >And there is no reason why you should have to use an underscore on any >form field name, either. > >Using a leading underscore is a special technique for use with >[formvariables] when you don't want to be bothered to name each form value >individually on the next page -- and since this is clearly not the case >here, there is no reason for this user to use either underscores or >formvariables in this situation ... > >================================ >Kenneth Grome, WebDNA Consultant >808-737-6499 http://webdna.net >================================ > >The only reason I used formvariables was as a debugging tool. I put in: Debugger: [formvariables] [index],[value]
[/formvariables]To make sure that the values were being passed to the page on which I was using the [setheader] statement. (It displayed the variables and their contents correctly above the setheader statement), billingaddress1, 123 foo street for example.The weird part of this happens when I later query the cart for the contents of address1, et.al. using [orderfile], it gives me [billingaddress1] as the contents of address1, etc. > > > >------------------------------------------------------------- >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 > Christopher Feyrer System Administrator FoodSpot.com chris@foodspot.com ------------------- PGP 6.x key available.------------------------------------------------------------- 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 Christopher Feyrer

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:

Appendfile memory usage (redux) (2003) ShowIf inside formulas (1997) Not Enough Memory for Database? (2003) database (2000) .html to .tpl (1998) ShowNext truncating passed variable?? (1997) Re:2nd WebCatalog2 Feature Request (1996) code to phantom spacing (2001) WebCatalog for Postcards ? (1997) PSC recommends what date format yr 2000??? (1997) [WebDNA] WebDNA on LiveCD ... (2008) WebCatalog2 Feature Feedback (1996) re:Clickable maps and WebCatalog? (1996) E-mail Attachments (1997) Web Catalog 2 demo (1997) Sorting Numbers (1997) problems with 2 tags (1997) listword db bolding {correction} (2002) International Orders (1998) Can I invoke an ssi plugin from within a webcat page (1997)