Validation Attribute Example

Input field validation attribute. The validation keyword 'required' is used.

Validation is performed first in the browser but again on the server using the same javascript code.