[QuantityPrice] Not working in WebCatNT 2.0.1???

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14059
interpreted = N
texte = Has anyone tried [QuantityPrice] in a [LineItems] context? The docs state that it should work, but when I add it onto my invoice page, it displays the literal [QuantityPrice] instead of the correct value. I replaced it with [Math][Quantity]*[Price] [/Math] and that worked correctly, so I know the other values are being set properly.I am working on upgrading my invoice code from 1.x to 2.x with JavaScript to allow you to alter the quantity and see what the total order will be, assuming your browser can handle JavaScript. So far I have everything working but the tax, but that is trivial. I wanted to do this so that my users could print out an orderform with their items listed and mail or fax it to me (do not have SSL capabilities yet). Would others be interested in seeing my code as an example? After all of my sweating to force JavaScript to behave, I would like to be sure that someone is making use of the code ;) I'll even go back and document everything so that you can see what I am doing... Associated Messages, from the most recent to the oldest:

    
  1. Re: [QuantityPrice] Not working in WebCatNT 2.0.1??? (Grant Hulbert 1997)
  2. [QuantityPrice] Not working in WebCatNT 2.0.1??? (jpeacock@nbnbooks.com 1997)
Has anyone tried [QuantityPrice] in a [lineitems] context? The docs state that it should work, but when I add it onto my invoice page, it displays the literal [QuantityPrice] instead of the correct value. I replaced it with [math][Quantity]*[Price] [/Math] and that worked correctly, so I know the other values are being set properly.I am working on upgrading my invoice code from 1.x to 2.x with JavaScript to allow you to alter the quantity and see what the total order will be, assuming your browser can handle JavaScript. So far I have everything working but the tax, but that is trivial. I wanted to do this so that my users could print out an orderform with their items listed and mail or fax it to me (do not have SSL capabilities yet). Would others be interested in seeing my code as an example? After all of my sweating to force JavaScript to behave, I would like to be sure that someone is making use of the code ;) I'll even go back and document everything so that you can see what I am doing... jpeacock@nbnbooks.com

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:

Quiz question: Return all green and blank records? (2001) Opinion: [input] should be called [output] ... (1997) using webdna to determine pixel parameters (2000) Quit revisited (1997) Bug Report, maybe (1997) Ampersand (1997) Quit revisited (1997) Robots fill event log (1997) Fwd: Protect Tag and Groups (1998) Emailer S-L-O-W-N-E-S-S (2002) Execute Applescript (1997) Shopping with Accounts (2003) Not really WebCat (1997) Secure Server (1997) ListVariables Problem (2003) Configuring E-mail (1997) HomePage Caution (1997) WebDNAdev.net Widget (2003) [WebDNA] OT: Anyone implemented markitup? (2012) Aaron kant add (or whatever it was) (2000)