This TWiki plugin package adds a percent complete selector to TWiki forms and TWiki applications. The percentage can be set by clicking on the indicator bar, or by picking a value from the pick list. Percent values are in range 0% to 100%, and rounded to nearest 10% if needed.
This package adds a percent
type to TWikiForms:
Type | Description | Size | Value |
---|---|---|---|
percent |
![]() |
N/A | Initial (default) percentage value |
Example form definition:
Name: | Type: | Size | Values: | Tooltip message: |
---|---|---|---|---|
Progress | percent | Select percent complete |
You can also use the percent complete selector directly in your HTML forms, without having to write any code. Just include this in the topic text:
<form action="..."> %PERCENTCOMPLETE{ name="Progress" value="60" }% <form>This will show an HTML selector named "Progress" and a percent complete indicator bar tied to it.
Parameter | Description | Default | Example |
---|---|---|---|
name |
Name of selector | (required) | name="Progress" |
value |
Initial value, range 0 to 100. | "0" |
value="70" |
Test: (this only works if the PercentCompletePlugin is installed and enabled)
PercentCompletePlugin.zip
in your twiki installation directory.
Author: | TWiki:Main.PeterThoeny![]() ![]() |
||||||
Copyright: | © 2012-2015 TWiki:Main.PeterThoeny![]() © 2012-2015 TWiki:TWiki.TWikiContributor ![]() |
||||||
License: | GPL (GNU General Public License![]() |
||||||
Dependencies: |
|
||||||
Version: | 2015-05-29 | ||||||
Change History: | |||||||
2015-05-29: | TWikibug:Item7604![]() |
||||||
2014-12-11: | TWikibug:Item7577![]() |
||||||
2012-12-05: | TWikibug:Item7020![]() |
||||||
2012-08-10: | TWikibug:Item6907![]() |
||||||
Home: | http://TWiki.org/cgi-bin/view/Plugins/PercentCompletePlugin![]() |
||||||
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/PercentCompletePluginDev![]() |
||||||
Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/PercentCompletePluginAppraisal![]() |
Related Topics: VarPERCENTCOMPLETE, TWikiPreferences, TWikiForms, TWikiPlugins