# Email and URL Input Validation

> Source: https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/email-url

***(Applicable when* [HTML Page](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/object-definition#formtype) *check box is selected for Form Type)***

To validate the input entered for a data dictionary field as either an email address or URL on a generated Webster+ HTML page, the data dictionary field ***must*** have a data class with a *Class Name* "Email" or "URL" (case insensitive) assigned to it.

To do this:

|  |  |
| --- | --- |
| 1\. | Create a new data class definition in **[Data Class Definitions](https://manual.pvxplus.com/data-dictionary/data-classes/overview#Mark1)** maintenance. For the *Class Name*, enter "Email" or "URL" (case insensitive). |
| 2\. | Then, assign the data class to the data dictionary field in **[Data Dictionary Maintenance](https://manual.pvxplus.com/data-dictionary/data-dictionary-maintenance/overview#grid)** (on the **Elements** tab). |

*(Email and URL input validation for generated Webster+ HTML pages was added in PxPlus 2021 Update 1.)*
