Update __init__.py

Validation does now take place when pressing Submit button.