6.2.2 Add / Modify Validations

This topic provides information on Add / Modify Validations.

All the validation available in the application are maintained in <CHANNEL_ROOT_PATH>/framework/js/base-models/validations/obdx-locale.js. Implementer can override and add new validations in the application without changing this file. An extension hook is given at :

For OBDX 18.1 at <CHANNEL_ROOT_PATH>/extensions/validations/obdx-locale.js

From OBDX 18.2 onwards <CHANNEL_ROOT_PATH>extensions\override\obdx-locale.js

In this file Implementer can add or override validations.

For Example: If you need to change the pattern which validate Mobile Number. Add updated pattern in this file as below.