# Default Validation Emblem

DevFeed: [Default Validation Emblem](<https://devfeed.tech/articles/default-validation-emblem-19282.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/default-validation-emblem/>)

Author: Shai Almog

Published: 2016-12-05T00:00:00Z

Content type: release

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Framework](<https://devfeed.tech/topics/framework.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [email](<https://devfeed.tech/tags/email.md>), [framework](<https://devfeed.tech/tags/framework.md>), [icons](<https://devfeed.tech/tags/icons.md>), [update](<https://devfeed.tech/tags/update.md>), [validation](<https://devfeed.tech/tags/validation.md>)

## AI overview

Codename One's validation framework will gain a default emblem in the next update, removing the need to define one manually for validation error icons. The change also alters the validator's default behavior, so code relying on the previous behavior may need a workaround.

## Source excerpt

The validation framework makes it easy to verify input quickly and effectively. Up until now you had to define an emblem in order to create an error icon and if you didn't you had to define an "Invalid" UIID for every entry. This exists by default for text fields and other types but is still a big hassle just to check that we have a valid email... The main reason for this is that when we introduced the validation framework we hadn't yet integrated the material icons into Codename One, this was remedied and starting with the next update we'll have a default emblem. Notice that if you replace it manually your emblem will still be used...