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:

Searching multiple fields from one form field (1997) Error Lob.db records error message not name (1997) Finding max value for a field (1997) sorting dates (1999) Help formatting search results w/ table (1997) Multiple prices (1997) WebCatalog memory error. (1998) info (1997) Protecting webdelivery (1997) PCS Frames (1997) RE: Error: template (1997) Running 2 two WebCatalog.acgi's (1996) Can't use old cart file (was One more try) (1997) Not really WebCat (1997) Bug Report, maybe (1997) when is date system date or order date? (1997) converting tabs (1997) emailer (1997) Multiple Newcarts (1996) [OT] Major DOS attack (2002)