wiki:TracFormsPlugin/Expert

Version 1 (modified by Steffen Hoffmann, 13 years ago) (diff)

initial content

Another TracFormsPlugin Tutorial

For basic information see the beginners part.

Multiple forms per resource

TracForms has a way to allow multiple forms within a parent resource (ticket description or wiki page): the subcontext. Using multiple unique subcontext IDs you can define a virtually unlimited number of independent forms per parent resource. Add the subcontext command with an argument into the form header like this:

{{{
#!TracForm
#!subcontext different_form

... field definitions ...

}}}

Here we set the subcontext to the id 'different_form'. This helps the form markup parser find saved field values and know where to put form update information for this form.

Attachments (1)

Download all attachments as: .zip