I am writing program rules in tracker (DHIS 2.25) but quite not sure why there are not working for program attributes. I have tried to follow the user guide but I could probably be missing out on something and someone could please advise me. For example I would like to prevent entry of numbers in the name field by preventing completion if the rule is violated but the following rule is not working for me:
If you can also please advise me how I can set the following program rules:
Validation pattern for the format: #####-HH-####-## (# represents digit)
Limit a text field to exactly 16 characters (not more not less).
Looking forward to your kind support.