Dear Community,
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: !d2:validatePattern(A{Family Name},'[^\\d]*'). If you can also please advise me how I can set the following program rules: 1. Validation pattern for the format: #####-HH-####-## (# represents digit) 2. Limit a text field to exactly 16 characters (not more not less). Looking forward to your kind support. Thanks Absolom
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp