Static Fields
nav_first.pngFirst: thread:379
Feedback from naive user
Edited: 26 Oct 2011 12:41 by: Sheepdog
Comments: 3
nav_prev.pngPrevious: thread:344
Recommended Documentation Changes
Edited: 25 Mar 2010 19:34 by: (user deleted)
Comments: 0
Last: thread:141
Which aspects of this design do people want first?
Edited: 11 Nov 2009 12:44 by: leiger
Comments: 14
Next: thread:339
'editable' property (all field types)
Edited: 24 Mar 2010 01:53 by: leiger
Comments: 0

Ed JohnsonEd Johnson wrote on 22 Mar 2010 18:06

The specific properties you can use on a static field:

Testing this I learned a few things.

The label property works and appears to be valid. The documentation should be updated to describe this.

The before and after properties sort of work. Before is displayed above the static text and after is displayed below the static text. This might be useful, but simply using another static field probably makes more sense since static fields can be styled and before and after cannot.

Basic inline styling seems to work fine as the example shows (bold, italic, strikethrough, etc.). I found that I could do some "fancier" styling by using [[span class="... ]] like this:

    type: static
    value: [[span class="myform-static-label"]]A Nicely Styled Header For My Form[[/span]]@<&nbsp;>@

The key to success was appending the @<&nbsp;>@ to the end of the line. Without that, the span method of formatting breaks.


Start a new sub-thread

Comments: 9

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License