Fields

Fields are the components which make your Forms come to life.
Written by Nick Laughton
Updated 1 year ago

If Forms are the engine of the Internet, then Fields are the components which let users interface with that engine. Everything in your Form depends on these versatile components. 

Fields can be one of a variety of Field Types. When using the Generate Forms functionality to automatically build your forms from a BAW Process, you can create specific field types by adding the appropriate BAW Variable Types to the Inline Activities. In this way, the form is created with specific field types based on that data mapping.

When you create a new Field, it will have a set of default attributes. You can change these attributes to make it behave the way you need. In edit mode, click the field and adjust the values in the dialog.

Field Settings

The available Field Settings change depending upon the Field Type you select, but here is a brief description of some of the common settings and what they do.

Name - The Field Name is set when you create the field. You can change it by clicking the name and agreeing to override the current value.  Keep in mind that changing this value will cause any existing instances to require an update to accept this change.

Field Type - The Field Type defines the behavior of the field.  This is where you determine if you have a Text Field, Select, Radio Button, etc...  For more information see the Field Type help article.

Label - the Label is the text that users will see when they are entering (or selecting) information on your Form. 

Hint - Hint values are displayed as tiny suggestions about what constitutes a valid entry for a form.  For example, "Must be between $1 and $200."  This hint would then appear below the field on the form.

Width - The Width value has several options. By default most Fields will use a Responsive width. This means that the Field will display differently depending on he screen size of the device is it being displayed on. Other options include Percentage of Screen, Number of Pixels, Fill (fills the available space), Contents (auto sizes to the contents of the field).

Binding - the Binding is the name / variable that is used to store the data for a Field. Read more in the Binding help article.

Binding Type - the Binding Type is the type of data that is allowed to be captured in the field.

Default - a Field's default is a value that will automatically be displayed when a Form is loaded. It can be overridden by a user's input.

Pattern - use the Pattern value to specify rules that enforce formatting, like requiring a phone number to include 10 digits. Read more in this Pattern Examples help article.

Pattern Message - this is the warning that shows up when someone breaks the Pattern rules.

Read Only If - Define conditions for when this Field can not be edited by a user.  See Validation help article for examples.

Hide If - Defines conditions for when this Field will not be seen by a user.  See Validation help article for examples.

Required If - Defines conditions when this field will be required before the form can be submitted.  See Validation help article for examples.

Invalid If - Defines conditions when this field will be considered invalid and prevent form submission. See Validation help article for examples.

Invalid Message - this is the warning that shows up when someone breaks the Invalid If rules.

Load Actions - this set of Actions will be performed when the Form loads.

Change Actions - this set of Actions will be performed when the value of the Field is changed by a user when they are filling out the Form.

Information Tree

The Information Tree shows the data structure that the Form you are working on will fit into.  Read more about Information Tree in our online help.

Did this answer your question?