[WebDNA] Math sum

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110488
interpreted = N
texte = --047d7b471da4c6c6aa04e0a217ce Content-Type: text/plain; charset=ISO-8859-1 Hi All, I want to display a score value that simply adds the sum of the following: [math][showif [varA]=Yes]2[/showif][showif [varB]=Yes]2[/showif][showif [varC]=Yes]2[/showif][math] Adding the + both in the showif and in between them makes it fail if one of the var is not yes. Suggestions? Thanks ~G --047d7b471da4c6c6aa04e0a217ce Content-Type: text/html; charset=ISO-8859-1
Hi All,

I want to display a score value that simply adds the sum of the following:

[math][showif [varA]=Yes]2[/showif][showif [varB]=Yes]2[/showif][showif [varC]=Yes]2[/showif][math]

Adding the + both in the showif and in between them makes it fail if one of the var is not yes.

Suggestions?

Thanks
~G
--047d7b471da4c6c6aa04e0a217ce-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Math sum (John Butler 2013)
  2. [WebDNA] Math sum (george r 2013)
--047d7b471da4c6c6aa04e0a217ce Content-Type: text/plain; charset=ISO-8859-1 Hi All, I want to display a score value that simply adds the sum of the following: [math][showif [varA]=Yes]2[/showif][showif [varB]=Yes]2[/showif][showif [varC]=Yes]2[/showif][math] Adding the + both in the showif and in between them makes it fail if one of the var is not yes. Suggestions? Thanks ~G --047d7b471da4c6c6aa04e0a217ce Content-Type: text/html; charset=ISO-8859-1
Hi All,

I want to display a score value that simply adds the sum of the following:

[math][showif [varA]=Yes]2[/showif][showif [varB]=Yes]2[/showif][showif [varC]=Yes]2[/showif][math]

Adding the + both in the showif and in between them makes it fail if one of the var is not yes.

Suggestions?

Thanks
~G
--047d7b471da4c6c6aa04e0a217ce-- george r

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:

Running _every_ page through WebCat ? (1997) writefile to create static pages (2003) PIXO support (1997) NT or Mac (1998) emailer (1997) [WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011) Can't find templaes (1997) Server Freeze (1998) Checkboxes to add to cart... (1998) forming a SKU (1999) Weird error/limit - something amiss? (1997) Security Issues and WebCommerce Solution (1997) OT: javascript print() (2003) WebCatalog for guestbook ? (1997) Re[3]: Weird [blank] interpretation (1999) listfiles-looking for slick solution (1997) breaking & sorting (2000) WebDNA EMail Preference (2005) if then .... (2004) Emailer choke (1997)