Date Field Plugin
Provides support for a new type,
, in form fields. When a form field is set to this type it will no longer be editable by normal means, but only through a date selection popup.
WARNING: TWiki-4 only. If you want to use this plugin with an earlier version of TWiki, please see here
In a form definition, enter
where you would normally put
. For example:
| Birthday | date | 0 | 1 April 2004 | A date |
This will display an uneditable
field is ignored.
The default date format is taken from the JSCalendarContrib
settings. You can change the date format by setting the TWiki variable 'DATEFORMAT' in your TWikiPreferences, your WebPreferences or in a topic. For example:
in Google for a full list of the format options.
The plugin can default to todays date by setting the TWiki variable 'DATEFIELDPLUGIN_DEFAULTTOTODAY' in your TWikiPreferences, your WebPreferences or in a topic. For example:
- Set DATEFIELDPLUGIN_DEFAULTTOTODAY = 1
for additional settings.
Plugin Installation Instructions
- Download the archive (.zip or .tgz) from the Plugin web (see below)
- Unpack the archive in your twiki installation directory. Content:
| File: || Description: |
| Plugin topic |
| Plugin Perl module |
DateFieldPlugin_installer to automatically check and install other TWiki modules that this module depends on.
- Alternatively, manually make sure the dependencies listed in the table below are resolved.
|TWiki::Contrib::JSCalendarContrib||>=7071||Used to display a neat calendar popup. Available from the TWiki:Plugins/JSCalendarContrib repository.|
configure in your TWiki installation, and enable the plugin in the
Related Topics: TWikiPreferences
This work was commissioned by Deutsche Bank AG
- 13:39:35 07 Juli 2008