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:

The [shownext] limitations (2002) [ShowNext] (1997) WebCatalog for guestbook ? (1997) I'm having trouble using [url][interpret][math] together inlookup (1997) Frames and WebCat (1997) UPS online - Alaska and Hawaii (2003) WebCat2b12 - New features for 1.6 users ... (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) RequiredFields template (1997) [WebDNA] TCPConnect/cURL alternative for windows? (2010) checkbox results written to a database (1999) date and time stamp (2003) A Global Variable (1997) Can't open order file error II (2004) No Wanna Duppys (1998) AE aware WebCatalog.acgi? (1997) emailer (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Pithy questions on webcommerce & siteedit (1997) Changing path of links... (2000)