By Clay Li on Sunday, 05 March 2017
Category: Feature

Custom Required Field for Calem Offline

Administrators can customize standard tables to alter table or field attributes for Calem Offline. For instance, "Comments" field in is required by default when adding comments to work orders. One can make the field not required in Calem Offline through the following steps.

<?php

$_CALEM_table['fields']['comments']=array(

'type'=>'text'

);

The original definition is:

<?php

$_CALEM_table['fields']['comments']=array(

'type'=>'text',

'required'=>true

);

The customization will be applied to offline client as well as web client. See Calem Offline Admin Guide for more information.

Calem provides out of the box support for work order comments table. Other tables can be added by the same steps above.

Two screenshots are included to demonstrate the idea: