Skip to content

Commit

Permalink
Item13883: there is no tooltip in data form fields
Browse files Browse the repository at this point in the history
It actually is the field _Description_. It never is used in any kind of tooltip.
  • Loading branch information
MichaelDaum committed Jun 22, 2022
1 parent 757ea2c commit 5718f4e
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions JQueryPlugin/data/System/JQueryFarbtastic.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1456220586" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1655899072" format="1.1" version="1"}%
%META:TOPICPARENT{name="JQueryPlugin"}%
---+ %TOPIC%
%JQPLUGINS{"farbtastic"
Expand Down Expand Up @@ -28,7 +28,7 @@ The widget can be parametrized using [[JQueryMetadata][metadata]] inside the cla

With the farbtastic plugin comes a formfield type ==color= that lets you add one or more color formfields to %SYSTEMWEB%.DataForms. Try

| *Name* | *Type* | *Size* | *Values* | *Tooltip message* | *Attributes* |
| *Name* | *Type* | *Size* | *Values* | *Description* | *Attributes* |
| Color1 | color | 10 | | | |
| Color2 | color | 10 | | | |
| Color3 | color | 10 | | | |
Expand All @@ -39,4 +39,4 @@ To define a !PaletteForm with 4 colors.
---++ Examples
%JQREQUIRE{"farbtastic"}%

<input type="text" id="color" name="color" value="#123456" class="jqFarbtastic" />
<input type="text" id="color" name="color" value="#123456" class="jqFarbtastic" />
4 changes: 2 additions & 2 deletions JQueryPlugin/data/System/JQueryRating.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1456220586" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1655899072" format="1.1" version="1"}%
%META:TOPICPARENT{name="JQueryPlugin"}%
---+ %TOPIC%
%JQPLUGINS{"rating"
Expand Down Expand Up @@ -29,7 +29,7 @@ radio box, or the title if present.

The jquery rating plugin is used to implement a ==rating== formfield. Here are some examples:

| *Name* | *Type* | *Size* | *Values* | *Tooltip message* | *Attributes* |
| *Name* | *Type* | *Size* | *Values* | *Description* | *Attributes* |
| Rating1 | rating | 5 | | | |
| Rating2 | rating | 10 | very low, low, substandard, standard, superior, I like it, quite good, good, very good, excellent | | |
| Rating3 | rating | 20 | 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5, 10 | | split:2 |
Expand Down
4 changes: 2 additions & 2 deletions PreferencesPlugin/data/System/DefaultPreferencesForm.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%META:TOPICINFO{author="ProjectContributor" date="1421599902" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1655899072" format="1.1" version="1"}%
%META:TOPICPARENT{name="PreferencesPlugin"}%
|*Name*|*Type*|*Size*|*Value*|*Tooltip message* |*Attributes*|
|*Name*|*Type*|*Size*|*Value*|*Description* |*Attributes*|
| WEBBGCOLOR | text | 20 | #FFD8AA | HTML Color | S |
| FAVICON | text | 30 | %PUBURL%/%WEB%/WebPreferences/favicon.ico | URL of an icon image | S |
| WEBCOPYRIGHT | textarea | | Copyright &copy; 1999-%GMTIME{"$year"}% by the contributing authors. \nAll material on this collaboration platform is the property of the contributing authors. <br /> \nIdeas, requests, problems regarding <nop>%WIKITOOLNAME%? <a href="mailto:%WIKIWEBMASTER%?subject=%WIKITOOLNAME%&#32;Feedback&#32;on&#32;%WEB%.%TOPIC%">Send feedback</a> | Long form copyright | S |
Expand Down
2 changes: 1 addition & 1 deletion TopicUserMappingContrib/data/System/UserForm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is a maintenance topic, used by the Wiki administrator.
---++ Data form definition of user topics
%INCLUDE{"UserFormHelp" section="note"}%

|*Name* |*Type* |*Size* |*Values* |*Tooltip message* |*Attributes* |
|*Name* |*Type* |*Size* |*Values* |*Description* |*Attributes* |
| <nop>FirstName | text | 40 | | | |
| <nop>LastName | text | 40 | | | |
| <nop>OrganisationName | text | 40 | | | |
Expand Down
4 changes: 2 additions & 2 deletions core/data/System/FAQAnApplicationWithWikiForm.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1655468868" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1655899072" format="1.1" version="1"}%
%META:TOPICPARENT{name="FrequentlyAskedQuestions"}%
This answer assumes you have basic knowledge about [[DataForms][Data Forms]].

Expand All @@ -15,7 +15,7 @@ See [[DataForms][Data Form]], specifically the section [[DataForms#FormTable][Th

As an example we will create the topic "ReadingForm" with these contents:
<verbatim class="tml">
| *Name* | *Type* | *Size* | *Values* | *Tooltip message* | *Attributes* |
| *Name* | *Type* | *Size* | *Values* | *Description* | *Attributes* |
| Title | text | 80 | | Book or article title | |
| Category | select | 1 | ,Interesting,Remarkable,So-so | How you rate this reading material | |
| Author | text | 50 | | Author's last name | |
Expand Down
4 changes: 2 additions & 2 deletions core/data/System/FAQForm.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%META:TOPICINFO{author="ProjectContributor" date="1655468868" format="1.1" version="1"}%
| *Name:* | *Type:* | *Size:* | *Values:* | *Tooltip message:* | *Attributes* |
%META:TOPICINFO{author="ProjectContributor" date="1655899072" format="1.1" version="1"}%
| *Name:* | *Type:* | *Size:* | *Values:* | *Description:* | *Attributes* |
| <nop>TopicTitle | text | 80 | | | H |
| TopicClassification | select | 1 | | Classify a topic | |
| Topic Summary | text | 80 | | Short summary of feature/bug/idea | |
Expand Down
4 changes: 2 additions & 2 deletions core/data/System/PackageForm.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%META:TOPICINFO{author="ProjectContributor" date="1457496285" format="1.1" version="1"}%
| *Name:* | *Type:* | *Size:* | *Values:* | *Tooltip message:* |
%META:TOPICINFO{author="ProjectContributor" date="1655899072" format="1.1" version="1"}%
| *Name:* | *Type:* | *Size:* | *Values:* | *Description:* |
| Author | text | 60 | | |
| Version | text | 60 | | Numerical version number e.g. 1.2 |
| Release | text | 60 | | Release identifier (usually the date) |
Expand Down
10 changes: 5 additions & 5 deletions core/data/System/SearchPatternCookbook.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1655454502" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1655899072" format="1.1" version="1"}%
%META:TOPICPARENT{name="UserDocumentationCategory"}%
---+!! Search Pattern Cookbook

Expand All @@ -17,10 +17,10 @@ Most people not familiar (enough) with Regular Expressions mostly cut and paste
Suppose there is a topic with a table defining entries in a [[DataForms][data form]]. I.e. they define select menu items in a form definition. They are then formatted like:

<verbatim class="tml">
| *Name* | *Type* | *Tooltip message* |
| option1 | option | |
| option2 | option | |
| option3 | option | |
| *Name* | *Type* | *Description* |
| option1 | option | |
| option2 | option | |
| option3 | option | |
</verbatim>

How to extract the 'name' values, i.e. 'option1', 'option2' and 'option3' and put them in a HTML form select input?
Expand Down

0 comments on commit 5718f4e

Please sign in to comment.