Check Box

A Check Box is a graphical user interface that is shown on the screen as a square box that can contain white space (for false) or check mark (for true). Adjacent to the check box is a caption describing the meaning of the check box. Inverting the state of a check box is done by clicking the mouse on the button.

Adding a Check Box to the Form

  1. In the Form Editor, drag the from the Form Widgets palette onto the form canvas. A new Check Box field is added in the canvas.
  2. Enter a Label for your Checkbox. Notice that the Data Field associated with the widget is now populated with the label name but without spaces.

    The Data Field should not contain any spaces and should be a unique name within the Collection.
  3. The Properties section of the Form Editor will allow you to customize the data properties of the widget.
  4. Select either the Simple or Calculated radio button. Simple will allow users to choose true or false values for the checkbox while calculated will populate the value of the checkbox using an expression defined using the Expression Builder. If you select the Calculated radio button, the Properties section will change, allowing you to enter an expression in the Value box.
  5. The Required Field radio button allows you to determine if the field needs to be filled out before a user is able to save the record. If the field is marked as a required field, it will be designated with a red asterisk (*) in the form.
  6. The Display this field in the default Collection View checkbox allows you to add this field as a column in the collection tab's view without having to enter the View Editor.
  7. For Simple checkbox widgets, you can define a default value by clicking on the button to the right of Possible and Default Values.

    The Possible and Default Value window will open, where the default value for the widget can be defined.
  8. When finished, save your changes in the Form Editor. Refer to the section on Version Management for more information.
  9. Click Exit to close the Form Editor and return to the Collection page.