# Checkbox

The Checkbox is an input field used to allow selection of one or more choice from multiple choices. Once user drags a field of type Checkbox onto the entity, user must click on the edit icon to open the configuration window as shown below.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FnVnal4EcqMioxCWrsjBN%2Fimage.png?alt=media\&token=7682650f-b607-4b12-91b7-60e123f75a02)

The Checkbox Configuration Settings are described below:&#x20;

| Property              | Default value            | Mandatory  | Description                                                                                                                                                                                                                                                                                                                             |
| --------------------- | ------------------------ | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| MF ID                 | System Generated number  | Y          | MF ID is unique and is generated by system automatically.                                                                                                                                                                                                                                                                               |
| Tabular Type          | N                        |            | To set the checkbox as a table.                                                                                                                                                                                                                                                                                                         |
| Checkbox Form Values  |                          |            |                                                                                                                                                                                                                                                                                                                                         |
| Value                 |                          | Y          | Value of the radio item                                                                                                                                                                                                                                                                                                                 |
| ShowName              |                          | Y          | Displayed text for the radio item                                                                                                                                                                                                                                                                                                       |
| Seq                   |                          | N          | Sequence of the radio item                                                                                                                                                                                                                                                                                                              |
| Default Check         |                          | N          | To have the item checked by default                                                                                                                                                                                                                                                                                                     |
| Source tag            |                          |            | This field is used to insert JavaScript at the item level.                                                                                                                                                                                                                                                                              |
| Field\_ID             | \[FIELD\_ID]             |            | To define the database field mapped to this field on the smart form.                                                                                                                                                                                                                                                                    |
| ShowFieldName         | \[SHOW\_FIELD\_NAME]     | Y          | To define the field label to be displayed on the screen. Clicking on the blue icon will auto generate the field name based on field id                                                                                                                                                                                                  |
| SearchCriteria        | N                        |            | To define if this field is to be used as one of the search criteria in the search screen.                                                                                                                                                                                                                                               |
| ShowSearch            | N                        |            | To define if this field is to be one of the search results (in table)                                                                                                                                                                                                                                                                   |
| SearchFromTo          | N                        |            | To define if the field is to be searched in range in the search criteria.                                                                                                                                                                                                                                                               |
| SearchPreLike         | N                        |            | To define if this field should allow wildcard search e.g. (%XXX)                                                                                                                                                                                                                                                                        |
| SearchLike            | N                        |            | To define if this field to allow wildcard search e.g. (XXX%)                                                                                                                                                                                                                                                                            |
| SearchIgnoreCase      | N                        |            | To define if this field is to allow search by ignoring case.                                                                                                                                                                                                                                                                            |
| JoinSearchTable       | N/A                      |            | Usually required when JOIN SQL is used to produce the search screen. Join with another table to show results                                                                                                                                                                                                                            |
| SearchFieldGroup      | 0                        |            | This setting is used to configure the position of the field in the search criteria screen horizontally (row).                                                                                                                                                                                                                           |
| SearchCriteriaSeq     | 0                        |            | To configure the position of field in the search criteria screen vertically (column).                                                                                                                                                                                                                                                   |
| ShowSearchSeq         | 0                        |            | To configure the position of the field in the search results.                                                                                                                                                                                                                                                                           |
| Alignment             | left                     |            | To set Text Alignment. It provides 3 options to choose from: right /left /center.                                                                                                                                                                                                                                                       |
| OnlyGuiFlag           | N                        |            | To configure the field as a UI field. This field is not persisted into the database.                                                                                                                                                                                                                                                    |
| ViewFlag              | N                        |            | Y- To view field in read/view mode in Edit screen.                                                                                                                                                                                                                                                                                      |
| KeepHistory           | N                        |            | To configure the field values to have history information persisted into database.                                                                                                                                                                                                                                                      |
| FilterFlag            | N                        |            | Used in 1-Many module to filter the records based on value of the field.                                                                                                                                                                                                                                                                |
| Authen                | N                        |            | Enabling it, calls an ONEWEB authorization engine (IAM)                                                                                                                                                                                                                                                                                 |
| MergeFlag             | N                        |            | To merge this field to the next column as well. Usually used to display a field across two columns                                                                                                                                                                                                                                      |
| Validate Code         | CHECK\_NULL              |            | <p>Y - to make Validation check.   </p><p>CHECK_NULL- will check for null in the field before saving. </p><p>CHECK_INTEGER - will check for integer value before saving. </p><p>CHECK_DECIMAL - will check for decimal value before saving. </p><p>CHECK_EMAIL_FORMAT - require user to input value in email format before saving. </p> |
