- Adding Empty Cells and Text

Adding Empty Cells

You can use the special _BLANK value to add an empty table cell to the layout:


FieldSet {

name: General Info;

line1: name[label:Customer name; Association Operation:1234; rowspan:2], birthdate;

line2: _BLANK, telephone;

}

The colspan and rowspan properties can be applied to the empty cell to enlarge it:


FieldSet {

name: General Info;

line1: name[label:Customer name; Association Operation:1234; rowspan:2], birthdate;

line2: _BLANK[colspan: 2], telephone;

}

Adding Text

You can use the special _TEXT value to add text to the layout:


FieldSet {

name: General Info;

line1: name[label:Customer name; Association Operation:1234; rowspan:2], birthdate;

line2: _BLANK, _TEXT[value:This is some text];

}

All field descriptor attributes can be applied to the text cell, including style class, colspan, and rowspan:


FieldSet {

name: General Info;

line1: name[label:Customer name; Association Operation:1234; rowspan:2], birthdate;

line2: _BLANK[colspan: 2], _TEXT[value:This is a warning;

Style class: d-warn; colspan:2];

}

You can use WOW parameter markup in the value property. For example, ??FIELD_NAME will let you pull values

from the other fields in the row, and ??? can be used to pull values from the user values:


FieldSet {

name: General Info;

line1: _TEXT[value: Welcome ???^-130];

line2: name[label:Customer name; Association Operation:1234; rowspan:2], birthdate;

line3: _BLANK[colspan: 2], _TEXT[value:This is a warning;

Style class: d-warn; colspan:2];

}

If the user logged on with the user name "Frank" then the first text cell would display the text "Welcome Frank"

(-130 is the usage ID for the user name).