Set a default value in a form field

Description

Issue Description:

 

A default value must be displayed in a field (‘Duration’) of the delivery form when it is created. When the delivery is made for the first time, the ‘Duration’ is set to 0, and when an already created delivery is reopened, it changes to 30.

Attached document.

Resolution

Objective: To resolve the issue on why the default value is not being taken.

Environment: All

Cause:  User had specified a different default value in the XML of the schema.

Resolution:

To find the schema in which the column needs a default value.

  1. Login to the instance and go the desired form. In this case bm:delivery

  2. Go to edit tab and then open the XML.

  3. duration_ContactCenter was set to ‘0’ this needs to be changed as according to the default value.

On this page