• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7168: Implement missing $name, $attributes, $length tokens in format parameter of FORMFIELD variable

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine TWikiForms Enhancement Closed   major 6.0.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

The following tokens were documented but not implemented in the format="" of VarFORMFIELD:

  • $name - field name (sanitized title)
  • $attributes - form field attributes

This field was documented as $definingTopic but not implemented. Now implemented with better name:

  • $formtopic - name of form definition topic

This field is new:

  • $length - length of value (can be used to test if value is set)

These fields where documented but not implemented. Docs have been updated to no longer list them:

  • $type - form field type
  • $size - size of field

-- TWiki:Main/PeterThoeny - 2013-02-28

This is now fixed in SVN trunk and 5.1 branch.

Test: Implement missing $name, $attributes, $length tokens in format parameter of FORMFIELD variable

-- TWiki:Main.PeterThoeny - 2013-02-28

ItemTemplate
Summary Implement missing $name, $attributes, $length tokens in format parameter of FORMFIELD variable
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 5.1.4
SVN Range TWiki-5.1.3-trunk, Wed, 27 Feb 2013, build 25211
AppliesTo Engine
Component TWikiForms
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:25226 TWikirev:25227 TWikirev:25228 TWikirev:25229
TargetRelease major
ReleasedIn 6.0.0
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r9 - 2013-10-15 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback