Trim active field's value on client side before check regular expression in the CEmailValidator