Add validation using form's submit
work on triggering submit with enter key