Changes between Initial Version and Version 1 of TracFormsPlugin/AdvancedUse


Ignore:
Timestamp:
May 12, 2011 3:31:26 PM (3 years ago)
Author:
hasienda
Comment:

initial content (just a stub)

Legend:

Unmodified
Added
Removed
Modified
  • TracFormsPlugin/AdvancedUse

    v1 v1  
     1[[PageOutline(2-5,Contents)]] 
     2= Another TracFormsPlugin Tutorial = 
     3For basic information see the [wiki:TracFormsPlugin/Starter beginners part]. 
     4 
     5== Simple calculations == 
     6=== Single input === 
     7!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: 
     8 
     9{{{ 
     10{{{ 
     11#!TracForm 
     12#! submit_label Calculate! 
     13[tf.input:formula 0] = [tf.sum:[tf.value:formula]] 
     14}}} 
     15}}} 
     16 
     17rendered result:[[BR]] 
     18 [[Image(forms_example_calc-one-field.png)]] 
     19 
     20=== Multiple input fields === 
     21 
     22 
     23---- 
     24Read even more in the [wiki:TracFormsPlugin/Expert expert section].