Configuring Fields


The ‘Build your App’ page is where you actually configure the various form elements of your app. It is here that you will define your App create Views, generate Reports, set up Schedules and write scripts.  The entire process of building your Custom App starts with defining what fields you want to get specific data from the App Users.

Fields are specific categories of information contained in an application. For example, the Conference Room Booking application contains fields like Host Name, Room Name, Number of Attendees, Meeting Agenda, etc. Each field in a form has a label name by which a field will be referred throughout the application. When you add a field to your form, you must specify what type of field it is. A field type is based on the kind of data the field should contain. For example, if a field should contain only dates, you create a Date type field. We support many types of fields that can be used to organize your data efficiently.

Each field contains a particular value, depending on the field type. For example, a field labeled "E-mail Id " may contain the value "sdp-ondemand-support@zohocorp.com" or a field labeled "Total" may contain the value "$25.00". The field type limits the type of data entered in a field. For example, you cannot enter a number in a text field.

 

There are over 20 types of fields available. The type of the field has to be specified while creating the form. The field type has to be chosen based on the data it should contain. If the field should contain only a date value, then choose the column to be of type date. If it is to contain a value out of a set of values, then choose a picklist. If you want the list also be modifiable by users, then choose an import data field. For a full list of all the field types supported by Zoho creator, their description and data type please refer to the documentation here

The Field Properties tab, present on the right pane is where you define the field configurations like Field Name, Visibility, Validation, Appearance, Tooltip Message, etc. To define or modify the properties of a field, click on that field and provide the necessary details in the Field Properties section. For more details on configuring field properties, please refer to the documentation here.

You can add scripts to perform actions on specific fields in your custom application. For example, validate a specific field data, display other field values based on data entered into a field, send mail when a field value is updated, etc. The scripts that are configured at the Field level are classified as On user input script and On update scripts. For more details on configuring field actions, please refer to the documentation here.

You may also refer to the Deluge Reference Guideto learn more about each field action with sample code.