Changes

Sscalculation

83 bytes added, 17:48, 21 November 2013
no edit summary
This will return the computed value of '@field@'*0.05 and replaces the sscalculation tag.
This way you can do calculations right on the [[Web Page View Field|web page views]] without having to use javascript which solves the problem on JavaScript. This resolves issues with creating PDF and javascriptfiles from [[Web Page View Field|web page views]] that contain JavaScript.
::so the 0 at the end ensures that the statement evaluated doesn't end with a plus sign (which will fail).
* If you need to pull information from the level 1 when you are at level 2 within the sscalculation tag, you can use the ''parent '' keyword
<pre style="white-space: pre-wrap;
* To sum a value on a UTA [[Company Role]] field (Custom Field ID 123456) for all companies with the role of ''Funding Agency'' AND a value stored on the level 1 (Custom Field ID 545454) and format it with no decimal places:
<pre style="white-space: pre-wrap;
8,849
edits