Using computed text
Using computed text with @formulas that resolve to lines of text is an easy way to customize forms and pages.
Display a customized title bar
Add a simple formula to an element's Window Title property.
"Sandbox 1 - Time: " + @Text(@Now;"D1S1")
The computed text displays in the browser's title bar.
The result of a computation must be a text string. Here is computed text that fails to display on the Web.
"It is now: " + @Now
This formula generates an HTTP 500 error because the value of @Now is not text. Correct this by converting a non-text result with @Text.
"It is now: " + @Text(@Now)
Display customized messages
Customized messages can be presented on a form with computed text. Here is a simple computed text formula:
"Welcome " + @Name([CN];@UserName)
If computed text Properties formatting attributes fail to affect the look of the computed text in the browser, you can surround the computed text on the form with<span>
tags and style attributes. Make sure to mark the...