Hi, Wishing you all a very happy & prosperous new year.
I am trying to put a validation on one of the attribute for Email. Following the manual , expression I am using is : *!d2:validatePattern(#{email},'^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$')* Which is not working as it validate false every time even if we enter a valid email i.e: sour...@gmail.com However I have checked d2:validatePattern for other expressions like : *!d2:validatePattern(A{name},'[^\\d]*')* Which is working fine for not contain numbers. The Reg Expression I am using for email is working fine on normal html. Has anyone used the validate pattern for email before? *Dhis2 Version: 2.25* *Build revision: :8982deb* Thanks & Regards, Sourabh Bhardwaj
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp