How to create constraint in DHIS2 tracker

Dear Dhis2 family

How to create constraint in DHIS2 tracker . For example I want user to follow an ID formant number like 32-15728L8-88-AA-100 and other format like 00-0Z-0B-2019-A-00191 when they are entering in DHIS2 Tracker mobile App
Regards

Hi @Shapr0019

I believe you will need to use a regex pattern in a program rule. Read more here in the DHIS2 docs. :slight_smile:

Thank you @Gassim I will read over the documentation while the answer is not that very clear

Regards

1 Like