/
Label

Label

Overview

The following example demonstrates how to create a Label control on a Wayfast page.

Labels allow to display read-only values like titles, field descriptions or text.

How to create a “Label” control?

First let’s open a page. We are going to use an example project called “HRSampleApp” and a Page named “New employee form”.

Let’s open the WYSIWYG.

Drag a “Label” control and drop it in the Layout.

Double-click the “Label” to edit its properties.

In “General” tab, type a name and a description. For example we can name this label “lblTitle” and add “Title:” in “Displayed Name” field.

General tab properties specific for this control

Field

Description

Field

Description

Default Value

Sets the value to be displayed on the screen. It can be either a constant value or a variable.

Add as Variable

When checked this property allows to use this object as a variable.

 

Data Binding tab contains a property to source Label’s value from a Dataset. When a value is for “Default Value” property in “General Tab”, Dataset property is disabled.

Let’s click on the “Preview” button to see how this control looks like:

And this is how our Label control looks like!

 

Related content

What are Projects and Solutions?
What are Projects and Solutions?
Read with this
Controls
Controls
More like this
How to configure Skin & Layouts?
How to configure Skin & Layouts?
Read with this
Standard Control Settings
Standard Control Settings
More like this
About Wayfast
About Wayfast
Read with this
Wayfast Javascript Library
Wayfast Javascript Library
More like this