Changes between Version 4 and Version 5 of TracFormsPlugin/Expert
- Timestamp:
- Aug 10, 2018, 6:15:51 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFormsPlugin/Expert
v4 v5 1 1 [[PageOutline(2-5,Contents)]] 2 = Another TracFormsPlugin Tutorial = 2 3 = Another TracFormsPlugin Tutorial 4 3 5 For basic information see the [wiki:TracFormsPlugin/Starter beginners part]. 4 6 5 == Multiple forms per resource == 7 == Multiple forms per resource 8 6 9 !TracForms has a way to allow multiple forms within a parent resource (ticket description or wiki page): the ''subcontext''. 7 10 Using multiple unique ''subcontext'' IDs you can define a virtually unlimited number of independent forms per parent resource. … … 16 19 }}} 17 20 }}} 21 18 22 Here we set ''subcontext'' to the ID 'different_form'. 19 23 This hint is used by the form markup parser/processor to find saved field values and to know where to put field update information for this form. … … 22 26 No surprise, not being distinguishable they behave like one form with ever changing values. 23 27 24 == Debug print == 28 == Debug print 29 25 30 There is a debug operation to reveal any value of the corresponding !TracForm environment. 26 31 Append a criteria expression to filter the list of 'key = value' pairs. 27 I.e.{{{'*'}}} will show everything.32 This means that {{{'*'}}} will show everything. 28 33 29 34 {{{ … … 40 45 }}} 41 46 42 rendered result:[[BR]] 43 [[Image(forms_example_debug-printout.png)]] 47 The rendered result then becomes: 44 48 45 Note: For versions before [10146], including !TracForms 0.3, the argument is '''mandatory''', in contrast to what the [wiki:TracFormsPlugin/Syntax#DebuggingOperations syntax docs] suggest. 49 [[Image(forms_example_debug-printout.png)]] 50 51 '''Note''': For versions before [10146], including !TracForms 0.3, the argument is '''mandatory''', in contrast to what the [wiki:TracFormsPlugin/Syntax#DebuggingOperations syntax docs] suggest.