Changes between Version 4 and Version 5 of TracFormsPlugin/Expert


Ignore:
Timestamp:
Aug 10, 2018, 6:15:51 PM (3 years ago)
Author:
figaro
Comment:

Added tag

Legend:

Unmodified
Added
Removed
Modified
  • TracFormsPlugin/Expert

    v4 v5  
    11[[PageOutline(2-5,Contents)]]
    2 = Another TracFormsPlugin Tutorial =
     2
     3= Another TracFormsPlugin Tutorial
     4
    35For basic information see the [wiki:TracFormsPlugin/Starter beginners part].
    46
    5 == Multiple forms per resource ==
     7== Multiple forms per resource
     8
    69!TracForms has a way to allow multiple forms within a parent resource (ticket description or wiki page): the ''subcontext''.
    710Using multiple unique ''subcontext'' IDs you can define a virtually unlimited number of independent forms per parent resource.
     
    1619}}}
    1720}}}
     21
    1822Here we set ''subcontext'' to the ID 'different_form'.
    1923This 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.
     
    2226No surprise, not being distinguishable they behave like one form with ever changing values.
    2327
    24 == Debug print ==
     28== Debug print
     29
    2530There is a debug operation to reveal any value of the corresponding !TracForm environment.
    2631Append a criteria expression to filter the list of 'key = value' pairs.
    27 I.e. {{{'*'}}} will show everything.
     32This means that {{{'*'}}} will show everything.
    2833
    2934{{{
     
    4045}}}
    4146
    42 rendered result:[[BR]]
    43  [[Image(forms_example_debug-printout.png)]]
     47The rendered result then becomes:
    4448
    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.