Help center

Go to Aire

Corteza Data Field Types: Checkbox

Configuring Boolean Values in Corteza

Introduction

Data Modules in Corteza are built with data fields. There are many different types of data fields. Each Field Type can have:

  • Attributes. These allow us to customize a Field Type to our needs e.g. turn a number into a measure of currency or weight.

  • Sanitizers. These allow us to clean up data before it is saved e.g. round a number with 7 decimal places to a number with 2 decimal places.

  • Validators. These allow us to determine if a field value is a valid entry or not e.g. someone's age should not be a negative number. 


This guide concerns itself only with Attributes for the named Field Type. Sanitizer and Validators are the subject of a separate guide which can be found here

To access Data Modules, click on the "Admin Panel" on the top of the left menu bar in any Corteza app.

The Checkbox Field Type

The Checkbox Field is one of the simplest field types in Corteza. It consists of a binary Yes/No option. Once the Checkbox Field Type has been selected, click on the Wrench icon to the right of the field type in order to tailor its attributes.

In the "Checkbox (Y/N) tab, you can add values for "Value when checked" and "Value when unchecked". This could be "Yes/No", "On/Off", "High/Low" or any other pairing you wish. You may also opt to display the Checkbox as a Switch (this change is only visual and does not affect the values). Hit "Save and close".

When back in the "Edit Module" page, hit "Save" again to save the Module changes.

Did this answer your question?
😞
😐
😁