[TYPO3-dev] Math in TS

Tobias Erlacher reallyme at gmx.net
Thu Jan 29 18:48:51 CET 2009


Am 29.01.2009, 15:27 Uhr, schrieb Xavier Perseguers <typo3 at perseguers.ch>:
Hello,
> I try using prioriCalc
> ____________________________________
> value = ({field:resultnumber}-1)
> insertData = 1
> prioriCalc = 1
> _________________________

I think this is the wrong list for this.
Anyway, you cant use insertData and prioriCalc on the same stdWrap because  
of its execution order.

Following example should work
test.calcMe=TEXT
test.calcMe{
   prioriCalc=1
   cObject=TEXT
   cObject.insertData=1
   cObject.value={field:resultnumber}-1
}


Tobias Erlacher




More information about the TYPO3-dev mailing list