Project

General

Profile

Actions

Feature proposal #4514

open

Extend substitution usage with further processing features

Added by krileon almost 10 years ago. Updated over 7 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
06 June 2014
Due date:
% Done:

0%

Estimated time:

Description

Currently you can do IF statements or substitute in values, but it's commonly requested to do simple php behaviors or simple math like adding two values together. Would be neat to have something like the following.

[cb:math method="add"][cb_points][cb_rating][/cb:math]

That would for example add the two fields together. Date substitution could be upgraded to support supplying a field so the date being formatted isn't always now. Inline substitutions could also be helpful. For example you supply a math or if substitution inside of a date substitution.

Actions

Also available in: Atom PDF