Added events form validation condition
Bugfixing