texte = --1619090392-1462194208-1404575869=:49792Content-Type: text/plain; charset=iso-8859-1Content-Transfer-Encoding: quoted-printableHope everyone in the US had a nice 4th of July.....=0AChicago stopped its l=akefront fireworks extravaganza years ago.... ;(=0A=0A=0AA somewhat simple =[math] addition snippet is driving me nuts=0A=0AI've seen this referenced o=ne way or another in the talklists.....=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=0AAnother trick for dealing with fields that may be blank is to prep=end=A0=0Athem with a 0 within the=A0math=A0context:[math][_itemamount]+[_po=stage]+0[_donation][/math]=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=0A=0A=0ADoesn't behave as mentioned that way for m=e.....=0A=0A=0AI'm ultimately snatching some price values and doing simple =addition:=0A=0A[text show=3DF]totalcharges=3D[math][ad_listing_price]+[prom=o_topspot_price]+[photo_update_price][/math][/text]=0A=0A(there will be man=y more fields, but for now I'm just dealing with those 3)=0A=0AIf any one o=f those 3 price variables is not passed from the form the addition will not= happen.=0AIf all 3 are passed they total up just fine.=A0=0AThere might be= as many as 13 fields getting totaled up when complete.=0AThere might be ju=st one price to pass along, maybe 2 or 3 to add up, maybe 4 or 5 etc=0A=0AA=dding a "0" like mentioned in the talklist entries I've found does nothing.==0A=0AI've used [listvariables] and [formvariables] to be sure those 3 pric=es are being passed around OK and they are....=0A=0A=0ASomething simple I'm= missing or flying over my head?=0A=0AAdding [hideif]s into that [math] par=t is an option, but looking for a simpler solution.=0A=0AI'm running versio=n 6.2 on Windows Server2008=0A=0ASearching the newer talklist gets a little= clunky at times using that form.....--1619090392-1462194208-1404575869=:49792Content-Type: text/html; charset=iso-8859-1Content-Transfer-Encoding: quoted-printable
Hope everyone in the US had a nice= 4th of July.....
Chicago stopped its lakef=ront fireworks extravaganza years ago.... ;(
A somewhat simple [math] addition snippet is driving me nuts
=
I've seen this re=ferenced one way or another in the talklists.....
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Another trick for dealing with fields that may be blank is to p=repend
them with a 0 within the math&nbs=p;context:[math][_itemamount]+[_postage]+0[_donation][/math]
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
Doesn't behave as mentioned that way for me.....
=
I'm ultimately snatching some price values and doin=g simple addition:
[text show=3DF]totalcharges=3D[math][ad_listing_price]+[promo_topspot_price]+[ph=oto_update_price][/math][/text]
(there will be many more fields, =but for now I'm just dealing with those 3)
If any one of those 3 price variables is not passed= from the form the addition will not happen.
If all 3 are passed they total up just fin=e.
The=re might be as many as 13 fields getting totaled up when complete.
There might be just one= price to pass along, maybe 2 or 3 to add up, maybe 4 or 5 etcAdding a ="0" like mentioned in the talklist entries I've found does nothing.