validate attribute added in cs-field and cs-form