Version 1 (modified by 13 years ago) (diff) | ,
---|
Contents
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)
-
forms_example_debug-printout.png (5.4 KB) - added by 13 years ago.
env_debug application example
Download all attachments as: .zip