[Friends]: Fixed user side HTML5 validation