hub.eb?material_id=97&track_id=260

Text Controls


A Text Control represents some text on the Page.

When a Text Control is created the Create new Text Control dialog opens where you can enter the text you want to display. This text can be altered by double-clicking on the Control to open the dialog again.

The Text Control will render HTML markup in your text if the Contains HTML checkbox is checked:

  • If unchecked, HTML will not be interpreted, for example: My <strong>HTML</strong> text.
  • If checked, HTML will be interpreted, for example: My HTML text.

A Text Control with no text set is displayed as <no text set> in the WYSISYG panel. When the Page is displayed in the browser, however, no text is displayed.

You can also display the value of a Field within a Text Control by using && Field substitution, for example: &&fieldName.

Steps


1

Drag a Text Control from the Palette onto a Page.

Type 'Welcome' into the Create new Text Control dialog and click OK.

2

Edit the the text by double-clicking on the word 'Welcome' in the WYSIWYG view, or on the Text Control in the Outline View.

Change the text to 'Welcome to <b>My Page</b>' and check the Contains HTML checkbox.

Run the Form.

3

Add a Field to the Page called pageName and set its Default Value to 'My Awesome Page'.

Change the Text Control text to 'Welcome to <b>&&pageName</b>'.

Run the Form.

Current Module

Related