Fixed form validation and disabled submit button

Signed-off-by: Vishal Rana <vr@labstack.com>