Email validation not supporting new TLDs

I have here an example of new TLDs with a user email finishing by “ .paris ”. This adress is not seens as correct by DHTMLX Form Input validation process using the rule :

validate="ValidEmail"

Is there any update scheduled for DHTMLX to accept the new TLDs, considering this list is very volatile at the moment ?

Thanks,
F. Rigaudie - Unapei, Paris.

Hi

once after dhtmlx.js loaded before form init, add:

dhtmlxValidation.isValidEmail = function(value) { return !!value.toString().match(/(^[a-z0-9]([0-9a-z\-_\.]*)@([0-9a-z_\-\.]*)([.][a-z]{3})$)|(^[a-z]([0-9a-z_\.\-]*)@([0-9a-z_\-\.]*)(\.[a-z]{2,5})$)/i); }