# GraffitiEmailValidator
Class Inherits GraffitiWebUIControl
## About
Easily monitor a field for email address input to validate and suggest corrections.
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| NoSuggestion | (None) | (None) | This event is fired when there is no valid suggestion for the email address supplied. |
| Open | (None) | (None) | |
| UpdateSuggestion | SuggestedEmail as String | (None) | This event is fired when there is a suggestion for the email address supplied. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| AttachField | AttachTo as WebTextField | (None) | This method attached the Javascript for the email validation to the supplied WebTextField. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Domains() | String | Nil | Array of common domains to suggest corrections for. |
| TLDs() | String | Nil | Array of common TLDs to suggest corrections for. |