- Implemented form validation.
- Added required property for default elements.