Tags:
create new tag
, view all tags

Feature Proposals » More intuitive syntax for select+values field type of TWiki Forms

Summary

Current State: Developer: Reason: Date: Concerns By: Bug Tracking: Proposed For:
MergedToCore PeterThoeny AcceptedByReleaseMeeting 2014-10-02   TWikibug:Item7563 KampalaRelease

Edit Form

TopicSummary:
CurrentState:
CommittedDeveloper:
ReasonForDecision:
DateOfCommitment:   Format: YYYY-MM-DD
ConcernRaisedBy:
BugTracking:
OutstandingIssues:
RelatedTopics:
InterestedParties:
ProposedFor:
TWikiContributors:
 

Motivation

The One, Two=2, Three=III syntax of TWikiForms ' select+values type is not so intuitive.

Description and Documentation

As documented in TWikiForms, the select+values type supports label=value definition for options, such as One, Two=2, Three=III.
A label=value turns into <option value="value">label<option>.

This small enhancement deprecates this syntax in favor of a more intuitive value: label definition, such as One, 2: Two, III=Three.
A value: label turns into <option value="value">label<option>.

The deprecated title=value syntax will remain in the code for compatibility.

Impact

WhatDoesItAffect: Usability

Implementation

Enhance TWiki::Form::Select.

Related, the new AutocompletePlugin will be enhanced to support the same value: label syntax for the autocomplete type.

-- Contributors: Peter Thoeny - 2014-10-02

Discussion

Accepted by release meeting at KampalaReleaseMeeting2014x10x02

-- Peter Thoeny - 2014-10-04

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2014-10-04 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.