JQueryWikiWord

Homepage: http://foswiki.org/Extensions/JQueryPlugin
Author(s): Michael Daum
Version: 3.30

This plugin allows to create a WikiWord on the base of a set of input elements. The value of these are concatenated and the result is normalized to be a valid WikiWord. For example, this can be used to derive a topic name from a free-form topic title text.

Foswiki integration

Add the jqWikiWord to an html input field and specify the source from which to derive the WikiWord using HTML5 meta data:
{
  source:'selector', /* e.g. '#projectTitle' */
  initial:'initial value', /* e.g. 'Project...' */
  prefix:'string to be prefixed to the wiki word', /* e.g. 'Project' */
  suffix:'string to be appended to the wiki word', /* e.g. 'AUTOINC0' */
  transliterate: true,
  allowedRegex:'characters that are allowed in a wiki word', /* e.g. 'a-zA-Z\\d' */
  forbiddenRegex:'characters that are not allowed in a wiki word' /* e.g. '[^a-zA-Z\\d]' */
}

Examples

New Project

Title:

Year:

Project topic:

Topic revision: r1 - 2017-12-06, ProjectContributor
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback