• 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.

I'm confused with this. label fields in TWikiForms don't allow a name: if a label field has a name, it's presented as a regular field, but without nothing to edit. They are shown as what they are (labels) if they don't have names. That's reasonable, but documentation should mention this fact (that label fields can't have names).

AT

I am not sure I understand. I just checked, see TestForm and TestTemplate. Labels have names, and the value can be set for example with a LabelA=Value+A parameter in edit mode. It works as expected. Labels can be used to store meta data that the user cannot easily change.

-- PTh

Label fields can have names. But if a label field does not have a name, it will not be stored in the topic. The reason for this is twofold:

  1. Large labels can excessively bloat stored topics
  2. Unnamed label fields can be used for labels that appear when the form is edited, but not when the form is viewed.
Unnamed label fields are a powerful tool for help information. Named label fields work as they did in Cairo.

I thought I had documented this; obviously not. Added to TWikiForms in SVN 8326

CC

ItemTemplate
Summary documentation: TWikiForms does not tell that label fields cannot have a name
ReportedBy AntonioTerceiro
Codebase

SVN Range Sat, 14 Jan 2006 build 8289
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins 8326
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2006-01-16 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback