|
Hope everyone in the US had =a nice 4th of July.....Chicag=o stopped its lakefront fireworks extravaganza years ago.... ;(A somewhat simple [math] addition snippet is driving me nut=sI've seen this referenced one way or another in the talkli=sts.....=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3DAnother trick for dealing with fields that may be =blank is to prepend
th=em with a 0 within the math 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=3DDoesn't behave as mentioned= that way for me..... <=div class=3D"yiv5574971491" style=3D"font-size: 13px; font-family: Helvetic=aNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; fon=t-style: normal; background-color: transparent;">I'm ultimately snatching s=ome price values and doing simple addition:[text show=3DF]totalcharges=3D[math][ad_listing_price]+[promo_topspot_price]+=[photo_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.
DOWNLOAD WEBDNA NOW!
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...