We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3349
    • 126 Posts
    Hi Does anyone know a way of adding TV values so can be output on a page.

    So adding TV1 = 3, TV2 = 2, TV3 = 4 together to get the value 9

    CHeers
      • 577
      • 132 Posts
      Pass them into a snippet for server side solution, or pass them into javascript and then call the function / var onload for front-side solution.

      You could also try a output filter (but I have not used myself), also I would only guess that a snippet itself would be faster then looping through 3 filters.

      ex: [[*T1:add=`[[*T2:add=`[[*T1:add=`3`]]`]]`]]
        "One of these days I will get around to my own website... Its only been about 12 years... maybe tomorrow smiley"