What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Passing values

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23663
interpreted = N
texte = I'm having trouble getting some extea name/value pairs from my shopping cart to my invoice.I have a product that requires custom engraving, so I created three name value pairs, [persname], [option1], and [option2] that take input from the shopper on the results template. I can get the values from there into the shopping cart line item no problem. But no matter what I try I can't get them to the invoice.I've tried putting &[textB]=[persname] into the [setlineitems] context on the invoice, then adding [textB] down in the invoice description, but that doesn't work. Nor do all the variations I can think of.Do I need to do this on the shopping cart, before it gets to the invoice? What am I missing?Also, one more newbie question: Is there a way to use an empty field as a value? I'd like to use the equivalent of hide if field is empty... something like: [hideif [fieldname]=] I can't find anything about this in the manual. Can it be done?Thanks... sorry if these are really obvious...ph. Associated Messages, from the most recent to the oldest:

    
  1. Re: Passing values - never mind (Kenneth Grome 1999)
  2. Re: Passing values (Kenneth Grome 1999)
  3. Passing values - never mind (Phil Herring 1999)
  4. Passing values (Phil Herring 1999)
I'm having trouble getting some extea name/value pairs from my shopping cart to my invoice.I have a product that requires custom engraving, so I created three name value pairs, [persname], [option1], and [option2] that take input from the shopper on the results template. I can get the values from there into the shopping cart line item no problem. But no matter what I try I can't get them to the invoice.I've tried putting &[textB]=[persname] into the [setlineitems] context on the invoice, then adding [textB] down in the invoice description, but that doesn't work. Nor do all the variations I can think of.Do I need to do this on the shopping cart, before it gets to the invoice? What am I missing?Also, one more newbie question: Is there a way to use an empty field as a value? I'd like to use the equivalent of hide if field is empty... something like: [hideif [fieldname]=] I can't find anything about this in the manual. Can it be done?Thanks... sorry if these are really obvious...ph. Phil Herring

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:

WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Director 7 (1999) Tiny Store (1998) db access problem after switching to SSL (2001) [WebDNA] How to test whether JPEG file is valid in WebDNA? (2011) Setting up shop (1997) [WebDNA] math date issues? (2013) World Address Info (2003) Privacy Issue (LEGIT QUESTION) (2003) fieldnamesdir=ra equivalent for [sql] (2002) searchable list archive (1997) How true is this? (1999) Bug or syntax error on my part? (1997) Formatting of email on NT (1998) PCS Frames (1997) QuantityPrice computed? (1998) Multiple catalog databases and showcart (1997) Question re: FlushDatabases (1997) WebMerchant Q (2000) [WebDNA] WebDNA 7 multiple fcgid processes (2012)