Added custom validator sample