Another TracFormsPlugin Tutorial
For basic information see the beginners part.
Simple calculations
Single input
TracForms don't aim at replacing your pocket calculator. Nevertheless you can do simple calculations with a single input field and TracForms sum
operation. Implicit default operation is to sum up all values. It supports arbitrary float precision and reduces results to integer, if possible:
{{{ #!TracForm #! submit_label Calculate! [tf.input:formula 0] = [tf.sum:[tf.value:formula]] }}}
rendered result:
Multiple input fields
Read even more in the expert section.
Last modified 7 years ago
Last modified on May 12, 2011, 1:31:26 PM
Attachments (1)
-
forms_example_calc-one-field.png (2.9 KB) - added by 7 years ago.
simple calculator example
Download all attachments as: .zip