Dynamic Labels offer a the ability to display dynamically generated messages on a form. For example, if the user enters a user the form can display information about that user in a Dynamic Label. 


Recently there have been several requests to include Rich Text in the dynamic label to allow multi-line dynamic data. To do this you simply need to excplicitly state where to start a new line. This can be done in a several different ways and the following a some examples.


 .NET

DynamicLabel.Value = “Line1” + Environment.NewLine + “Line2”

 or 

_DynamicLabel.Value = "Line 1\r\n" & "Line 2"

 

JavaScript

   

_form.setValue("DynamicLabel") = "Line 1\r\n" + "Line 2"