Ed 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:
value: [[span class="myform-static-label"]]A Nicely Styled Header For My Form[[/span]]@< >@
The key to success was appending the @< >@
to the end of the line. Without that, the span method of formatting breaks.
Start a new sub-thread
page revision: 3, last edited: 24 Mar 2010 18:31