hub.eb?material_id=262&track_id=260

Field Controls


A Field holds data. A Field Control is backed by a Field and allows end-users to view and edit the Field's value.

Field Controls are the primary method for capturing input within Verj.io.

They can be added to a Page by:

  • Dragging a Field from the Fields View into the Outline or WYSIWYG View.
  • Dragging a Field Control from the Palette into the Outline or WYSIWYG view. This creates also creates a new Field.

Once created, a Field Control can't be changed to use another Field.

Field Controls are comprised of a:

  • Label provides a name so the end-user understands what data is being displayed or requested.
  • Editor contains the input element. The type of input element is defined by the Display Type property of the Field. A Textual representation of the Field's value is displayed when the Field Control's Display Only property is checked.
  • Help Text provides guidance to end-users about the data. This may include what the data represents or if the end-users should provide the data in a particular format.

Each of these sections can be hidden by unchecking the Display Label, Display Editor and/or Display Help properties in the Field Control's Properties View.

Steps


1

Create a Field called name and add it to your Page as a Field Control.

2

Add a Button Control to the page. Set its text to Submit.

3

Add a Text Control to the page. Set its text to &&name.

4

Run the Form, enter a name and press the button.

You will see the name displayed in the Text Control.

5

Change the name that you entered and press the button again.

The text control will update to display the new name.

Current Module

Related