JSPWiki logo
Strona główna
Zbieranina
Serwisy
Porady
Projekty
Humor sektora IT
TODO
Nowości
Ostatnie zmiany
Kontakt

Find pages
Unused pages
Undefined pages
Page Index

Set your name in
UserPreferences

Edit this page


Referenced by
Form Input
Wiki Forms




JSPWiki v2.2.33


Form Set


The FormSet can be used to set default parameters to a submission.

Parameters

  • form : Which form this applies to. Mandatory.

The rest of the parameters are used by the different Form elements to set the defaults.

Example

The following creates a form which has two fields, where the "title" is set to empty, and a hidden parameter "status" with the value "NewBug" is added. The parameter is hidden, because there's no FormInput to handle it.

[{FormSet form='reportform' status='NewBug' title=''}]
[{FormOutput form='reportform' handler='BugReportHandler' populate='handler'}]

[{FormOpen form='reportform'}]
|Title of the bug:| [{FormInput type='text' name='title' size=80}]\\
''Mandatory. Please try to be brief, use a whole sentence of ten words or less.''
\\
[{FormTextarea name='description' rows=25 cols=80}]
[{FormClose}]

Back to WikiForms.




Go to top   Edit this page   More info...   Attach file...
This page last changed on 24-Apr-2005 11:02:04 GMT by unknown.